[vfs:testing.lookups 24/24] fs/btrfs/ioctl.c:2565:1: warning: label 'out_drop_write' defined but not used

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git testing.lookups
head:   e2d622ae5bb50425fe1405db14a7a9fc0096014f
commit: e2d622ae5bb50425fe1405db14a7a9fc0096014f [24/24] parallel lookups: actual switch to rwsem
config: x86_64-randconfig-x010-201615 (attached as .config)
reproduce:
        git checkout e2d622ae5bb50425fe1405db14a7a9fc0096014f
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   fs/btrfs/ioctl.c: In function 'btrfs_ioctl_snap_destroy':
>> fs/btrfs/ioctl.c:2565:1: warning: label 'out_drop_write' defined but not used [-Wunused-label]
    out_drop_write:
    ^

vim +/out_drop_write +2565 fs/btrfs/ioctl.c

76dda93c Yan, Zheng        2009-09-21  2549  	if (!err) {
64ad6c48 Omar Sandoval     2015-06-02  2550  		d_invalidate(dentry);
76dda93c Yan, Zheng        2009-09-21  2551  		btrfs_invalidate_inodes(dest);
76dda93c Yan, Zheng        2009-09-21  2552  		d_delete(dentry);
61155aa0 David Sterba      2014-04-15  2553  		ASSERT(dest->send_in_progress == 0);
fa6ac876 Liu Bo            2013-02-20  2554  
fa6ac876 Liu Bo            2013-02-20  2555  		/* the last ref */
57cdc8db David Sterba      2014-02-05  2556  		if (dest->ino_cache_inode) {
57cdc8db David Sterba      2014-02-05  2557  			iput(dest->ino_cache_inode);
57cdc8db David Sterba      2014-02-05  2558  			dest->ino_cache_inode = NULL;
fa6ac876 Liu Bo            2013-02-20  2559  		}
76dda93c Yan, Zheng        2009-09-21  2560  	}
76dda93c Yan, Zheng        2009-09-21  2561  out_dput:
76dda93c Yan, Zheng        2009-09-21  2562  	dput(dentry);
76dda93c Yan, Zheng        2009-09-21  2563  out_unlock_dir:
5955102c Al Viro           2016-01-22  2564  	inode_unlock(dir);
e43f998e David Sterba      2013-12-06 @2565  out_drop_write:
2a79f17e Al Viro           2011-12-09  2566  	mnt_drop_write_file(file);
76dda93c Yan, Zheng        2009-09-21  2567  out:
76dda93c Yan, Zheng        2009-09-21  2568  	kfree(vol_args);
76dda93c Yan, Zheng        2009-09-21  2569  	return err;
76dda93c Yan, Zheng        2009-09-21  2570  }
76dda93c Yan, Zheng        2009-09-21  2571  
1e701a32 Chris Mason       2010-03-11  2572  static int btrfs_ioctl_defrag(struct file *file, void __user *argp)
f46b5a66 Christoph Hellwig 2008-06-11  2573  {

:::::: The code at line 2565 was first introduced by commit
:::::: e43f998e47bae27e37e159915625e8d4b130153b btrfs: call mnt_drop_write after interrupted subvol deletion

:::::: TO: David Sterba <dsterba@xxxxxxx>
:::::: CC: Chris Mason <clm@xxxxxx>

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

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux