]> Git Repo - linux.git/commit - fs/ceph/xattr.c
ceph: use ihold when we already have an inode ref
authorSage Weil <[email protected]>
Fri, 27 May 2011 16:24:26 +0000 (09:24 -0700)
committerSage Weil <[email protected]>
Wed, 8 Jun 2011 04:34:11 +0000 (21:34 -0700)
commit70b666c3b4cb2b96098d80e6f515e4bc6d37db5a
treedd82036114adf9d0c28120500d58833cacfbc004
parentdb3540522e955c1ebb391f4f5324dff4f20ecd09
ceph: use ihold when we already have an inode ref

We should use ihold whenever we already have a stable inode ref, even
when we aren't holding i_lock.  This avoids adding new and unnecessary
locking dependencies.

Signed-off-by: Sage Weil <[email protected]>
fs/ceph/addr.c
fs/ceph/caps.c
fs/ceph/dir.c
fs/ceph/export.c
fs/ceph/file.c
fs/ceph/inode.c
fs/ceph/ioctl.c
fs/ceph/locks.c
fs/ceph/snap.c
fs/ceph/xattr.c
This page took 0.046999 seconds and 4 git commands to generate.