We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7f7e7a commit f6973c0Copy full SHA for f6973c0
fs/ceph/cache.c
@@ -25,6 +25,7 @@
25
#include "cache.h"
26
27
struct ceph_aux_inode {
28
+ u64 version;
29
struct timespec mtime;
30
loff_t size;
31
};
@@ -98,6 +99,7 @@ static uint16_t ceph_fscache_inode_get_aux(const void *cookie_netfs_data,
98
99
const struct inode* inode = &ci->vfs_inode;
100
101
memset(&aux, 0, sizeof(aux));
102
+ aux.version = ci->i_version;
103
aux.mtime = inode->i_mtime;
104
aux.size = i_size_read(inode);
105
@@ -124,6 +126,7 @@ static enum fscache_checkaux ceph_fscache_inode_check_aux(
124
126
return FSCACHE_CHECKAUX_OBSOLETE;
125
127
128
129
130
131
132
0 commit comments