diff options
Diffstat (limited to 'fs/cachefiles/xattr.c')
-rw-r--r-- | fs/cachefiles/xattr.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/cachefiles/xattr.c b/fs/cachefiles/xattr.c index d84423c264af..0a29a00aed2e 100644 --- a/fs/cachefiles/xattr.c +++ b/fs/cachefiles/xattr.c | |||
@@ -182,7 +182,8 @@ int cachefiles_check_auxdata(struct cachefiles_object *object) | |||
182 | goto error; | 182 | goto error; |
183 | 183 | ||
184 | xlen--; | 184 | xlen--; |
185 | validity = fscache_check_aux(&object->fscache, &auxbuf->data, xlen); | 185 | validity = fscache_check_aux(&object->fscache, &auxbuf->data, xlen, |
186 | i_size_read(d_backing_inode(dentry))); | ||
186 | if (validity != FSCACHE_CHECKAUX_OKAY) | 187 | if (validity != FSCACHE_CHECKAUX_OKAY) |
187 | goto error; | 188 | goto error; |
188 | 189 | ||
@@ -251,7 +252,8 @@ int cachefiles_check_object_xattr(struct cachefiles_object *object, | |||
251 | object->fscache.cookie->def->name, dlen); | 252 | object->fscache.cookie->def->name, dlen); |
252 | 253 | ||
253 | result = fscache_check_aux(&object->fscache, | 254 | result = fscache_check_aux(&object->fscache, |
254 | &auxbuf->data, dlen); | 255 | &auxbuf->data, dlen, |
256 | i_size_read(d_backing_inode(dentry))); | ||
255 | 257 | ||
256 | switch (result) { | 258 | switch (result) { |
257 | /* entry okay as is */ | 259 | /* entry okay as is */ |