[PATCH] nfsd4: misc lock fixes
authorAndy Adamson <andros@citi.umich.edu>
Thu, 19 Jan 2006 01:43:17 +0000 (17:43 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 19 Jan 2006 03:20:24 +0000 (19:20 -0800)
commita6f6ef2f1d7329111fcad7db48fb7adba5062d0a
tree7fd08104892870699c8f191e2e23b753b5b119d5
parent1918e341383ab787d6c5b17200f4ed901b10c777
[PATCH] nfsd4: misc lock fixes

Logic fixes for LOCK and UNLOCK.

- Move the permission check on the current file handle outside of
  nfs4_lock_state()

- remove the file manager fl_release_private calls; fl_ops is not set.

Signed-off-by: Andy Adamson <andros@citi.umich.edu>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/nfsd/nfs4state.c