]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: use ihold when we already have an inode ref
authorSage Weil <sage@newdream.net>
Fri, 27 May 2011 16:24:26 +0000 (09:24 -0700)
committerSage Weil <sage@newdream.net>
Wed, 8 Jun 2011 04:34:11 +0000 (21:34 -0700)
commit5ac94ab54d02b1f02f75e3d443fe8ed32d44a7d0
treedd82036114adf9d0c28120500d58833cacfbc004
parentb82f11c65d53afc767bce7f28d2a3f3e53bd9fe0
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 <sage@newdream.net>
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