tree: https://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git merge-next head: 85767a1c66ccf098d39f2ead269952f59395e43c commit: 85767a1c66ccf098d39f2ead269952f59395e43c [1/1] Merge branch 'for-next' into XX config: x86_64-randconfig-s1-12130100 (attached as .config) compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7 reproduce: git checkout 85767a1c66ccf098d39f2ead269952f59395e43c # save the attached .config to linux build tree make ARCH=x86_64 All warnings (new ones prefixed by >>): fs/autofs4/root.c: In function 'autofs4_dir_open': >> fs/autofs4/root.c:110: warning: unused variable 'path' vim +/path +110 fs/autofs4/root.c e9a7c2f1 Ian Kent 2016-03-15 94 ino = autofs4_dentry_ino(dentry); 4f8427d1 Ian Kent 2009-12-15 95 if (ino) { 4f8427d1 Ian Kent 2009-12-15 96 spin_lock(&sbi->lookup_lock); 4f8427d1 Ian Kent 2009-12-15 97 ino->active_count--; 4f8427d1 Ian Kent 2009-12-15 98 if (!ino->active_count) { 4f8427d1 Ian Kent 2009-12-15 99 if (!list_empty(&ino->active)) 4f8427d1 Ian Kent 2009-12-15 100 list_del_init(&ino->active); 4f8427d1 Ian Kent 2009-12-15 101 } 4f8427d1 Ian Kent 2009-12-15 102 spin_unlock(&sbi->lookup_lock); 4f8427d1 Ian Kent 2009-12-15 103 } 4f8427d1 Ian Kent 2009-12-15 104 } 4f8427d1 Ian Kent 2009-12-15 105 ^1da177e Linus Torvalds 2005-04-16 106 static int autofs4_dir_open(struct inode *inode, struct file *file) ^1da177e Linus Torvalds 2005-04-16 107 { a4669ed8 Josef "Jeff" Sipek 2006-12-08 108 struct dentry *dentry = file->f_path.dentry; ^1da177e Linus Torvalds 2005-04-16 109 struct autofs_sb_info *sbi = autofs4_sbi(dentry->d_sb); acd461bc Ian Kent 2016-12-07 @110 const struct path *path; f360ce3b Ian Kent 2006-03-27 111 8a78d593 Ian Kent 2016-03-15 112 pr_debug("file=%p dentry=%p %pd\n", file, dentry, dentry); ^1da177e Linus Torvalds 2005-04-16 113 ^1da177e Linus Torvalds 2005-04-16 114 if (autofs4_oz_mode(sbi)) ^1da177e Linus Torvalds 2005-04-16 115 goto out; ^1da177e Linus Torvalds 2005-04-16 116 ff9cd499 Ian Kent 2008-07-23 117 /* ff9cd499 Ian Kent 2008-07-23 118 * An empty directory in an autofs file system is always a :::::: The code at line 110 was first introduced by commit :::::: acd461bc0203aef69fb5e7996a460384fe4436e6 autofs: make struct path const in autofs4_dir_open() :::::: TO: Ian Kent <ikent@xxxxxxxxxx> :::::: CC: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip