From: Arnd Bergmann Date: Wed, 27 Oct 2010 13:46:08 +0000 (+0200) Subject: locks/nfsd: allocate file lock outside of spinlock X-Git-Tag: v2.6.37-rc1~90^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5b1f0d92c36851aca09ac6c7c0c4f9690ac14f3;p=pandora-kernel.git 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 Acked-by: J. Bruce Fields --- Reading git-diff-tree failed