Re: [PATCH 1/6] Btrfs: add mount option for dax

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

 



Hi Liu,

[auto build test WARNING on tip/perf/core]
[also build test WARNING on v4.9-rc8 next-20161207]
[cannot apply to btrfs/next]
[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/Liu-Bo/btrfs-dax-IO/20161208-082651
config: x86_64-randconfig-s2-12081004 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   fs/btrfs/super.c: In function 'btrfs_parse_options':
>> fs/btrfs/super.c:414: warning: unused variable 'set_bdev'
   fs/btrfs/super.o: warning: objtool: btrfs_statfs()+0x2af: function has unreachable instruction

vim +/set_bdev +414 fs/btrfs/super.c

   398	 * XXX JDM: This needs to be cleaned up for remount.
   399	 */
   400	int btrfs_parse_options(struct btrfs_root *root, char *options,
   401				unsigned long new_flags)
   402	{
   403		struct btrfs_fs_info *info = root->fs_info;
   404		substring_t args[MAX_OPT_ARGS];
   405		char *p, *num, *orig = NULL;
   406		u64 cache_gen;
   407		int intarg;
   408		int ret = 0;
   409		char *compress_type;
   410		bool compress_force = false;
   411		enum btrfs_compression_type saved_compress_type;
   412		bool saved_compress_force;
   413		int no_compress = 0;
 > 414		int set_bdev = 0;
   415	
   416		cache_gen = btrfs_super_cache_generation(root->fs_info->super_copy);
   417		if (btrfs_fs_compat_ro(root->fs_info, FREE_SPACE_TREE))
   418			btrfs_set_opt(info->mount_opt, FREE_SPACE_TREE);
   419		else if (cache_gen)
   420			btrfs_set_opt(info->mount_opt, SPACE_CACHE);
   421	
   422		/*

---
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