Re: [PATCH v2] fanotify: notify on mount attach and detach

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

 



Hi Miklos,

kernel test robot noticed the following build errors:

[auto build test ERROR on brauner-vfs/vfs.all]
[also build test ERROR on linus/master v6.13-rc1]
[cannot apply to jack-fs/fsnotify pcmoore-selinux/next next-20241206]
[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/Miklos-Szeredi/fanotify-notify-on-mount-attach-and-detach/20241206-231407
base:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git vfs.all
patch link:    https://lore.kernel.org/r/20241206151154.60538-1-mszeredi%40redhat.com
patch subject: [PATCH v2] fanotify: notify on mount attach and detach
config: m68k-allnoconfig (https://download.01.org/0day-ci/archive/20241207/202412071154.l5pE0H0S-lkp@xxxxxxxxx/config)
compiler: m68k-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241207/202412071154.l5pE0H0S-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/202412071154.l5pE0H0S-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

   In file included from fs/open.c:12:
>> include/linux/fsnotify.h:258:20: error: redefinition of 'fsnotify_mntns_delete'
     258 | static inline void fsnotify_mntns_delete(struct mnt_namespace *mntns)
         |                    ^~~~~~~~~~~~~~~~~~~~~
   In file included from include/linux/fsnotify.h:15:
   include/linux/fsnotify_backend.h:914:20: note: previous definition of 'fsnotify_mntns_delete' with type 'void(struct mnt_namespace *)'
     914 | static inline void fsnotify_mntns_delete(struct mnt_namespace *mntns)
         |                    ^~~~~~~~~~~~~~~~~~~~~
   include/linux/fsnotify.h: In function 'fsnotify_mntns_delete':
>> include/linux/fsnotify.h:260:9: error: implicit declaration of function '__fsnotify_mntns_delete'; did you mean 'fsnotify_mntns_delete'? [-Wimplicit-function-declaration]
     260 |         __fsnotify_mntns_delete(mntns);
         |         ^~~~~~~~~~~~~~~~~~~~~~~
         |         fsnotify_mntns_delete
--
   In file included from fs/namespace.c:22:
>> include/linux/fsnotify.h:258:20: error: redefinition of 'fsnotify_mntns_delete'
     258 | static inline void fsnotify_mntns_delete(struct mnt_namespace *mntns)
         |                    ^~~~~~~~~~~~~~~~~~~~~
   In file included from include/linux/fsnotify.h:15:
   include/linux/fsnotify_backend.h:914:20: note: previous definition of 'fsnotify_mntns_delete' with type 'void(struct mnt_namespace *)'
     914 | static inline void fsnotify_mntns_delete(struct mnt_namespace *mntns)
         |                    ^~~~~~~~~~~~~~~~~~~~~
   include/linux/fsnotify.h: In function 'fsnotify_mntns_delete':
>> include/linux/fsnotify.h:260:9: error: implicit declaration of function '__fsnotify_mntns_delete'; did you mean 'fsnotify_mntns_delete'? [-Wimplicit-function-declaration]
     260 |         __fsnotify_mntns_delete(mntns);
         |         ^~~~~~~~~~~~~~~~~~~~~~~
         |         fsnotify_mntns_delete
   fs/namespace.c: In function 'queue_notify':
>> fs/namespace.c:1126:15: error: 'struct mnt_namespace' has no member named 'n_fsnotify_marks'
    1126 |         if (ns->n_fsnotify_marks)
         |               ^~


vim +/fsnotify_mntns_delete +258 include/linux/fsnotify.h

   257	
 > 258	static inline void fsnotify_mntns_delete(struct mnt_namespace *mntns)
   259	{
 > 260		__fsnotify_mntns_delete(mntns);
   261	}
   262	

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