Re: [PATCH] fuse: fix stale data issue of virtiofs with dax

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

 



Hi,

kernel test robot noticed the following build warnings:

[auto build test WARNING on mszeredi-fuse/for-next]
[also build test WARNING on linus/master v6.6 next-20231103]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/obuil-liubo-gmail-com/fuse-fix-stale-data-issue-of-virtiofs-with-dax/20231105-143819
base:   https://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git for-next
patch link:    https://lore.kernel.org/r/20231105063608.68114-1-obuil.liubo%40gmail.com
patch subject: [PATCH] fuse: fix stale data issue of virtiofs with dax
config: s390-defconfig (https://download.01.org/0day-ci/archive/20231105/202311052017.XxUVgk2W-lkp@xxxxxxxxx/config)
compiler: s390-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231105/202311052017.XxUVgk2W-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311052017.XxUVgk2W-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

   fs/fuse/dax.c: In function 'fuse_dax_inode_cleanup_range':
>> fs/fuse/dax.c:392:28: warning: unused variable 'fi' [-Wunused-variable]
     392 |         struct fuse_inode *fi = get_fuse_inode(inode);
         |                            ^~


vim +/fi +392 fs/fuse/dax.c

   387	
   388	/* Callers need to make sure fi->i_mmap_sem is held. */
   389	void fuse_dax_inode_cleanup_range(struct inode *inode, loff_t start)
   390	{
   391		struct fuse_conn *fc = get_fuse_conn(inode);
 > 392		struct fuse_inode *fi = get_fuse_inode(inode);
   393	
   394		inode_reclaim_dmap_range(fc->dax, inode, start, -1);
   395	}
   396	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




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

  Powered by Linux