Re: [PATCH] cachefiles: Fix attempt to read i_blocks after deleting file

From: kbuild test robot
Date: Tue Aug 09 2016 - 09:17:45 EST


Hi David,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.8-rc1 next-20160809]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/David-Howells/cachefiles-Fix-attempt-to-read-i_blocks-after-deleting-file/20160809-205541
config: i386-randconfig-s0-201632 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

fs/cachefiles/namei.c: In function 'cachefiles_mark_object_inactive':
>> fs/cachefiles/namei.c:269:2: error: implicit declaration of function 'trace_cachefiles_mark_inactive' [-Werror=implicit-function-declaration]
trace_cachefiles_mark_inactive(object, dentry,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors

vim +/trace_cachefiles_mark_inactive +269 fs/cachefiles/namei.c

263 void cachefiles_mark_object_inactive(struct cachefiles_cache *cache,
264 struct cachefiles_object *object,
265 blkcnt_t i_blocks)
266 {
267 struct dentry *dentry = object->dentry;
268
> 269 trace_cachefiles_mark_inactive(object, dentry,
270 d_backing_inode(dentry));
271
272 write_lock(&cache->active_lock);

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data