[PATCH] NFSD4: return conflict lock without races
authorAndy Adamson <andros@citi.umich.edu>
Sun, 26 Mar 2006 09:37:26 +0000 (01:37 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 26 Mar 2006 16:56:56 +0000 (08:56 -0800)
commiteb76b3fda1f7c2aa2d1523b36835048a15e5e5d2
tree4a120685e7c1a3762a4da73d29327871f310a914
parent5842add2f3b519111b6401f3a35862bd00a3aa7e
[PATCH] NFSD4: return conflict lock without races

Update the NFSv4 server to use the new posix_lock_file_conf() interface.
Remove unnecessary (and race-prone) posix_test_file() calls.

Signed-off-by: Andy Adamson <andros@citi.umich.edu>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: 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