projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge git://git.kernel.org/pub/scm/linux/kernel/git/djbw/isci
[firefly-linux-kernel-4.4.55.git]
/
fs
/
ceph
/
snap.c
diff --git
a/fs/ceph/snap.c
b/fs/ceph/snap.c
index 24067d68a5549769df4be2c2a2574c36d6dcf702..54b14de2e729114d50d91fde0f9c5ab5bf7d29d7 100644
(file)
--- a/
fs/ceph/snap.c
+++ b/
fs/ceph/snap.c
@@
-722,7
+722,7
@@
static void flush_snaps(struct ceph_mds_client *mdsc)
ci = list_first_entry(&mdsc->snap_flush_list,
struct ceph_inode_info, i_snap_flush_item);
inode = &ci->vfs_inode;
- i
grab
(inode);
+ i
hold
(inode);
spin_unlock(&mdsc->snap_flush_lock);
spin_lock(&inode->i_lock);
__ceph_flush_snaps(ci, &session, 0);