lockd: push lock_flocks down

lockd should use lock_flocks() instead of lock_kernel()
to lock against posix locks accessing the i_flock list.

This is a prerequisite to turning lock_flocks into a
spinlock.

Signed-off-by: Arnd Bergmann <[email protected]>
Acked-by: J. Bruce Fields <[email protected]>
This commit is contained in:
Arnd Bergmann 2010-10-26 22:55:40 +02:00
commit 763641d812
4 changed files with 8 additions and 14 deletions

View file

@ -1,7 +1,6 @@
config NFS_FS
tristate "NFS client support"
depends on INET && FILE_LOCKING
depends on BKL # fix as soon as lockd is done
select LOCKD
select SUNRPC
select NFS_ACL_SUPPORT if NFS_V3_ACL