diff options
author | J. Bruce Fields <bfields@citi.umich.edu> | 2007-02-23 02:48:53 +0300 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2007-05-07 01:38:19 +0400 |
commit | 70cc6487a4e08b8698c0e2ec935fb48d10490162 (patch) | |
tree | 3dbf00694a5fcbea48233b78697a50effdcc80c9 /fs/lockd/svclock.c | |
parent | c2fa1b8a6c059dd08a802545fed3badc8df2adc1 (diff) | |
download | linux-70cc6487a4e08b8698c0e2ec935fb48d10490162.tar.xz |
locks: make ->lock release private data before returning in GETLK case
The file_lock argument to ->lock is used to return the conflicting lock
when found. There's no reason for the filesystem to return any private
information with this conflicting lock, but nfsv4 is.
Fix nfsv4 client, and modify locks.c to stop calling fl_release_private
for it in this case.
Signed-off-by: "J. Bruce Fields" <bfields@citi.umich.edu>
Cc: "Trond Myklebust" <Trond.Myklebust@netapp.com>"
Diffstat (limited to 'fs/lockd/svclock.c')
0 files changed, 0 insertions, 0 deletions