aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4state.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@primarydata.com>2015-01-16 15:05:55 -0500
committerJeff Layton <jeff.layton@primarydata.com>2015-01-16 15:09:25 -0500
commitc362781cadd37858c3d8f5d18b1e9957d4671298 (patch)
treead072eccf039314a24ad9314e7e249722d44ddb8 /fs/nfs/nfs4state.c
parentlocks: add a new struct file_locking_context pointer to struct inode (diff)
downloadlinux-dev-c362781cadd37858c3d8f5d18b1e9957d4671298.tar.xz
linux-dev-c362781cadd37858c3d8f5d18b1e9957d4671298.zip
ceph: move spinlocking into ceph_encode_locks_to_buffer and ceph_count_locks
There is only a single call site for each of these functions, and the caller takes the i_lock prior to calling them and drops it just afterward. Move the spinlocking into the functions instead. Signed-off-by: Jeff Layton <jlayton@primarydata.com> Acked-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/nfs/nfs4state.c')
0 files changed, 0 insertions, 0 deletions