lockd: push lock_flocks down
authorArnd Bergmann <arnd@arndb.de>
Tue, 26 Oct 2010 20:55:40 +0000 (22:55 +0200)
committerArnd Bergmann <arnd@arndb.de>
Wed, 27 Oct 2010 19:39:39 +0000 (21:39 +0200)
commit763641d81202834e9d64de2019d1edec12868f4f
treecabbf932e3f6676bfbce6be27744795700011bfb
parentf9ba5375a8aae4aeea6be15df77e24707a429812
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 <arnd@arndb.de>
Acked-by: J. Bruce Fields <bfields@redhat.com>
fs/lockd/svc.c
fs/lockd/svcsubs.c
fs/nfs/Kconfig
fs/nfsd/Kconfig