]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbe73a89c419d3a7d55d835164fe496e75c1b9986
treecabbf932e3f6676bfbce6be27744795700011bfb
parente8eefbd7974c487d2d52dc943d0db5d2e2c9a443
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