aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/ceph/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/cache.c b/fs/ceph/cache.c
index 834f9f3723fb..a4766ded1ba7 100644
--- a/fs/ceph/cache.c
+++ b/fs/ceph/cache.c
@@ -88,7 +88,7 @@ static uint16_t ceph_fscache_inode_get_key(const void *cookie_netfs_data,
88 const struct ceph_inode_info* ci = cookie_netfs_data; 88 const struct ceph_inode_info* ci = cookie_netfs_data;
89 uint16_t klen; 89 uint16_t klen;
90 90
91 /* use ceph virtual inode (id + snaphot) */ 91 /* use ceph virtual inode (id + snapshot) */
92 klen = sizeof(ci->i_vino); 92 klen = sizeof(ci->i_vino);
93 if (klen > maxbuf) 93 if (klen > maxbuf)
94 return 0; 94 return 0;