Andy Adamson 5842add2f3 [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>
2006-03-26 08:56:56 -08:00
..
2006-01-11 18:42:13 -08:00
2006-03-23 07:38:13 -08:00
2006-03-24 18:23:14 +01:00
2006-03-24 18:42:13 +01:00
2006-03-26 08:56:55 -08:00
2006-01-18 19:20:23 -08:00
2006-03-26 08:56:55 -08:00
2006-03-26 08:56:55 -08:00
2006-03-25 08:22:56 -08:00
2006-03-26 08:56:55 -08:00
2006-03-24 07:33:19 -08:00
2006-03-24 14:58:29 -08:00
2005-11-07 07:54:06 -08:00
2006-03-26 08:56:55 -08:00
2006-03-26 08:56:53 -08:00
2006-03-24 18:21:44 +01:00
2006-01-11 18:42:13 -08:00
2006-01-10 08:01:25 -08:00
2006-01-08 20:12:40 -08:00
2006-03-07 09:16:35 -08:00
2005-10-30 17:37:32 -08:00
2006-01-11 18:42:13 -08:00
2006-01-11 18:42:13 -08:00
2006-03-23 23:44:19 -05:00
2006-03-23 07:38:12 -08:00
2006-03-24 07:33:19 -08:00
2006-03-24 07:33:24 -08:00
2005-11-07 18:18:11 -08:00
2006-03-23 07:38:11 -08:00
2006-03-23 07:38:11 -08:00
2006-02-17 13:59:28 -08:00
2006-03-23 07:38:12 -08:00
2006-02-11 21:41:10 -08:00
2006-03-26 08:56:55 -08:00