Re: [ceph-client:testing 5/6] fs/ceph/super.c:1486:9: error: no member named 's_master_keys' in 'struct super_block'

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

 



Thanks for reporting this.

It's just a test patch in the testing branch. And I will fix it.

- Xiubo

On 07/12/2022 07:01, kernel test robot wrote:
tree:   https://github.com/ceph/ceph-client.git testing
head:   6950ae50f0998ef6846eab505c452c6bf02070e3
commit: c90f64b588ffb49a67bbf10c0580cf9051ced56a [5/6] [DO NOT MERGE] ceph: make sure all the files successfully put before unmounting
config: powerpc-randconfig-r016-20221206
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 6e4cea55f0d1104408b26ac574566a0e4de48036)
reproduce (this is a W=1 build):
         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
         chmod +x ~/bin/make.cross
         # install powerpc cross compiling tool for clang build
         # apt-get install binutils-powerpc-linux-gnu
         # https://github.com/ceph/ceph-client/commit/c90f64b588ffb49a67bbf10c0580cf9051ced56a
         git remote add ceph-client https://github.com/ceph/ceph-client.git
         git fetch --no-tags ceph-client testing
         git checkout c90f64b588ffb49a67bbf10c0580cf9051ced56a
         # save the config file
         mkdir build_dir && cp config build_dir/.config
         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=powerpc SHELL=/bin/bash fs/ceph/ mm/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

fs/ceph/super.c:1486:9: error: no member named 's_master_keys' in 'struct super_block'
            if (s->s_master_keys)
                ~  ^
    1 error generated.


vim +1486 fs/ceph/super.c

   1471	
   1472	static void ceph_kill_sb(struct super_block *s)
   1473	{
   1474		struct ceph_fs_client *fsc = ceph_sb_to_client(s);
   1475	
   1476		dout("kill_sb %p\n", s);
   1477	
   1478		ceph_mdsc_pre_umount(fsc->mdsc);
   1479		flush_fs_workqueues(fsc);
   1480	
   1481		/*
   1482		 * If the encrypt is enabled we need to make sure the delayed
   1483		 * fput to finish, which will make sure all the inodes will
   1484		 * be evicted before removing the encrypt keys.
   1485		 */
1486		if (s->s_master_keys)
   1487			flush_delayed_fput();
   1488	
   1489		kill_anon_super(s);
   1490	
   1491		fsc->client->extra_mon_dispatch = NULL;
   1492		ceph_fs_debugfs_cleanup(fsc);
   1493	
   1494		ceph_fscache_unregister_fs(fsc);
   1495	
   1496		destroy_fs_client(fsc);
   1497	}
   1498	





[Index of Archives]     [CEPH Users]     [Ceph Large]     [Ceph Dev]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux