locks: add a dedicated spinlock to protect i_flctx lists
authorJeff Layton <jlayton@primarydata.com>
Fri, 16 Jan 2015 20:05:57 +0000 (15:05 -0500)
committerJeff Layton <jeff.layton@primarydata.com>
Fri, 16 Jan 2015 21:08:49 +0000 (16:08 -0500)
commit6109c85037e53443f29fd39c0de69f578a1cf285
tree56823d1615acbba20c858eed9d16cf443cd55872
parenta7231a97467d5a0c36f82f581c76c12c034e4b80
locks: add a dedicated spinlock to protect i_flctx lists

We can now add a dedicated spinlock without expanding struct inode.
Change to using that to protect the various i_flctx lists.

Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Acked-by: Christoph Hellwig <hch@lst.de>
fs/ceph/locks.c
fs/cifs/file.c
fs/lockd/svcsubs.c
fs/locks.c
fs/nfs/delegation.c
fs/nfs/nfs4state.c
fs/nfs/write.c
fs/nfsd/nfs4state.c
include/linux/fs.h