Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 769d2002 authored by Jeff Layton's avatar Jeff Layton Committed by Chuck Lever
Browse files

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: default avatarFlorian Evers <florian-evers@gmx.de>
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=219008
Fixes: 05580bbf

 ("nfsd: adapt to breakup of struct file_lock")
Signed-off-by: default avatarJeff Layton <jlayton@kernel.org>
Tested-by: default avatarFlorian Evers <florian-evers@gmx.de>
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent a3123341
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment