aboutsummaryrefslogtreecommitdiffstats
path: root/mm/truncate.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2010-10-27 15:46:08 +0200
committerArnd Bergmann <arnd@arndb.de>2010-10-27 21:41:50 +0200
commitc5b1f0d92c36851aca09ac6c7c0c4f9690ac14f3 (patch)
treec8aa4ad65aea3b97292135a4c23d512e6071dc8d /mm/truncate.c
parenta282a1fa6b23bd21ba0b86e53ed2a316b001836f (diff)
downloadkernel_samsung_smdk4412-c5b1f0d92c36851aca09ac6c7c0c4f9690ac14f3.zip
kernel_samsung_smdk4412-c5b1f0d92c36851aca09ac6c7c0c4f9690ac14f3.tar.gz
kernel_samsung_smdk4412-c5b1f0d92c36851aca09ac6c7c0c4f9690ac14f3.tar.bz2
locks/nfsd: allocate file lock outside of spinlock
As suggested by Christoph Hellwig, this moves allocation of new file locks out of generic_setlease into the callers, nfs4_open_delegation and fcntl_setlease in order to allow GFP_KERNEL allocations when lock_flocks has become a spinlock. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'mm/truncate.c')
0 files changed, 0 insertions, 0 deletions