Skip to content
Commit c362781c authored by Jeff Layton's avatar Jeff Layton Committed by Jeff Layton
Browse files

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: default avatarJeff Layton <jlayton@primarydata.com>
Acked-by: default avatarChristoph Hellwig <hch@lst.de>
parent 4a075e39
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment