Re: [PATCH] btrfs: remove old tree_root dirent processing in btrfs_real_readdir()

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

 



Hi Jeff,

[auto build test WARNING on btrfs/next]
[also build test WARNING on v4.9-rc3 next-20161028]
[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/jeffm-suse-com/btrfs-remove-old-tree_root-dirent-processing-in-btrfs_real_readdir/20161105-104432
base:   https://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git next
config: i386-randconfig-b0-11051048 (attached as .config)
compiler: gcc-5 (Debian 5.4.1-2) 5.4.1 20160904
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All warnings (new ones prefixed by >>):

   fs/btrfs/inode.c: In function 'btrfs_real_readdir':
>> fs/btrfs/inode.c:5754:6: warning: unused variable 'di_len' [-Wunused-variable]
     u32 di_len;
         ^
>> fs/btrfs/inode.c:5753:6: warning: unused variable 'di_total' [-Wunused-variable]
     u32 di_total;
         ^
>> fs/btrfs/inode.c:5752:6: warning: unused variable 'di_cur' [-Wunused-variable]
     u32 di_cur;
         ^

vim +/di_len +5754 fs/btrfs/inode.c

16cdcec7 Miao Xie    2011-04-22  5746  	struct list_head del_list;
39279cc3 Chris Mason 2007-06-12  5747  	int ret;
5f39d397 Chris Mason 2007-10-15  5748  	struct extent_buffer *leaf;
39279cc3 Chris Mason 2007-06-12  5749  	int slot;
39279cc3 Chris Mason 2007-06-12  5750  	unsigned char d_type;
39279cc3 Chris Mason 2007-06-12  5751  	int over = 0;
39279cc3 Chris Mason 2007-06-12 @5752  	u32 di_cur;
39279cc3 Chris Mason 2007-06-12 @5753  	u32 di_total;
39279cc3 Chris Mason 2007-06-12 @5754  	u32 di_len;
5f39d397 Chris Mason 2007-10-15  5755  	char tmp_name[32];
5f39d397 Chris Mason 2007-10-15  5756  	char *name_ptr;
5f39d397 Chris Mason 2007-10-15  5757  	int name_len;

:::::: The code at line 5754 was first introduced by commit
:::::: 39279cc3d2704cfbf9c35dcb5bdd392159ae4625 Btrfs: split up super.c

:::::: TO: Chris Mason <chris.mason@xxxxxxxxxx>
:::::: CC: David Woodhouse <dwmw2@xxxxxxxxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux