|
@@ -88,7 +88,7 @@ static uint16_t ceph_fscache_inode_get_key(const void *cookie_netfs_data,
|
|
const struct ceph_inode_info* ci = cookie_netfs_data;
|
|
const struct ceph_inode_info* ci = cookie_netfs_data;
|
|
uint16_t klen;
|
|
uint16_t klen;
|
|
|
|
|
|
- /* use ceph virtual inode (id + snaphot) */
|
|
|
|
|
|
+ /* use ceph virtual inode (id + snapshot) */
|
|
klen = sizeof(ci->i_vino);
|
|
klen = sizeof(ci->i_vino);
|
|
if (klen > maxbuf)
|
|
if (klen > maxbuf)
|
|
return 0;
|
|
return 0;
|