summaryrefslogtreecommitdiffstats
path: root/fs/nfsd
diff options
context:
space:
mode:
authorAndy Adamson <andros@citi.umich.edu>2006-03-26 01:37:26 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-26 08:56:56 -0800
commit5842add2f3b519111b6401f3a35862bd00a3aa7e (patch)
tree299e5653ec2b7dfc9fa565920d7320bbf1c9c07e /fs/nfsd
parent6dc0fe8f8b40854982929e4f24d8c65115769b60 (diff)
downloadlinux-5842add2f3b519111b6401f3a35862bd00a3aa7e.tar.gz
linux-5842add2f3b519111b6401f3a35862bd00a3aa7e.tar.bz2
linux-5842add2f3b519111b6401f3a35862bd00a3aa7e.zip
[PATCH] VFS,fs/locks.c,NFSD4: add race_free posix_lock_file_conf() interface
Lockd and the NFSv4 server both exercise a race condition where posix_test_lock() is called either before or after posix_lock_file() to deal with a denied lock request due to a conflicting lock. Remove the race condition for the NFSv4 server by adding a new conflicting lock parameter to __posix_lock_file() , changing the name to __posix_lock_file_conf(). Keep posix_lock_file() interface, add posix_lock_conf() interface, both call __posix_lock_file_conf(). [akpm@osdl.org: Put the EXPORT_SYMBOL() where it belongs] 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> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/nfsd')
0 files changed, 0 insertions, 0 deletions