* [vfs:merge-next 1/1] fs/autofs4/root.c:110: warning: unused variable 'path'
@ 2016-12-12 23:32 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2016-12-12 23:32 UTC (permalink / raw)
To: Al Viro; +Cc: kbuild-all, linux-fsdevel
[-- Attachment #1: Type: text/plain, Size: 2806 bytes --]
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@redhat.com>
:::::: CC: Stephen Rothwell <sfr@canb.auug.org.au>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 31959 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-12-12 23:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-12 23:32 [vfs:merge-next 1/1] fs/autofs4/root.c:110: warning: unused variable 'path' kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).