projects
/
linux-drm-fsl-dcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph...
[linux-drm-fsl-dcu.git]
/
fs
/
ceph
/
cache.c
diff --git
a/fs/ceph/cache.c
b/fs/ceph/cache.c
index 16e7f7b6069112fd48e854aa9d1567d5de5b3f34..a351480dbabc95891e4b61f83fb92485f8ea7b18 100644
(file)
--- a/
fs/ceph/cache.c
+++ b/
fs/ceph/cache.c
@@
-195,7
+195,7
@@
void ceph_fscache_register_inode_cookie(struct ceph_fs_client* fsc,
return;
/* Avoid multiple racing open requests */
-
mutex_lock(&inode->i_mutex
);
+
inode_lock(inode
);
if (ci->fscache)
goto done;
@@
-205,7
+205,7
@@
void ceph_fscache_register_inode_cookie(struct ceph_fs_client* fsc,
ci, true);
fscache_check_consistency(ci->fscache);
done:
-
mutex_unlock(&inode->i_mutex
);
+
inode_unlock(inode
);
}