Commit 769d200
nfsd: nfsd_file_lease_notifier_call gets a file_lease as an argument
"data" actually refers to a file_lease and not a file_lock. Both structs
have their file_lock_core as the first field though, so this bug should
be harmless without struct randomization in play.
Reported-by: Florian Evers <[email protected]>
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=219008
Fixes: 05580bb ("nfsd: adapt to breakup of struct file_lock")
Signed-off-by: Jeff Layton <[email protected]>
Tested-by: Florian Evers <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>1 parent a312334 commit 769d200
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
664 | 664 | | |
665 | 665 | | |
666 | 666 | | |
667 | | - | |
| 667 | + | |
668 | 668 | | |
669 | 669 | | |
670 | 670 | | |
| |||
0 commit comments