diff options
author | Andy Adamson <andros@citi.umich.edu> | 2006-03-26 13:37:26 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-26 20:56:56 +0400 |
commit | 5842add2f3b519111b6401f3a35862bd00a3aa7e (patch) | |
tree | 299e5653ec2b7dfc9fa565920d7320bbf1c9c07e /fs/exec.c | |
parent | 6dc0fe8f8b40854982929e4f24d8c65115769b60 (diff) | |
download | linux-5842add2f3b519111b6401f3a35862bd00a3aa7e.tar.xz |
[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/exec.c')
0 files changed, 0 insertions, 0 deletions