[PATCH v5] Add flags option to get xattr method paired to __vfs_getxattr

kbuild test robot lkp at intel.com
Tue Aug 20 15:12:03 UTC 2019

Hi Mark,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[cannot apply to v5.3-rc5 next-20190820]
[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/Mark-Salyzyn/Add-flags-option-to-get-xattr-method-paired-to-__vfs_getxattr/20190820-220307
config: um-x86_64_defconfig (attached as .config)
compiler: gcc-7 (Debian 7.4.0-10) 7.4.0
        # save the attached .config to linux build tree
        make ARCH=um SUBARCH=x86_64

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp at intel.com>

All errors (new ones prefixed by >>):

   fs//kernfs/inode.c: In function 'kernfs_vfs_xattr_set':
>> fs//kernfs/inode.c:322:27: error: 'inode' undeclared (first use in this function)
     struct kernfs_node *kn = inode->i_private;
   fs//kernfs/inode.c:322:27: note: each undeclared identifier is reported only once for each function it appears in

vim +/inode +322 fs//kernfs/inode.c

b230d5aba2d1a7 Ondrej Mosnacek 2019-02-22  318  
1537ad15c9c59c Ondrej Mosnacek 2019-04-03  319  static int kernfs_vfs_xattr_set(const struct xattr_handler *handler,
7d823b0879d4e2 Mark Salyzyn    2019-08-19  320  				struct xattr_gs_args *args)
b230d5aba2d1a7 Ondrej Mosnacek 2019-02-22  321  {
b230d5aba2d1a7 Ondrej Mosnacek 2019-02-22 @322  	struct kernfs_node *kn = inode->i_private;
b230d5aba2d1a7 Ondrej Mosnacek 2019-02-22  323  
7d823b0879d4e2 Mark Salyzyn    2019-08-19  324  	return kernfs_xattr_set(kn, xattr_full_name(handler, args->name),
7d823b0879d4e2 Mark Salyzyn    2019-08-19  325  				args->value, args->size, args->flags);
b230d5aba2d1a7 Ondrej Mosnacek 2019-02-22  326  }
b230d5aba2d1a7 Ondrej Mosnacek 2019-02-22  327  

:::::: The code at line 322 was first introduced by commit
:::::: b230d5aba2d1a7b0636408889a75bf9eae6b8bc7 LSM: add new hook for kernfs node initialization

:::::: TO: Ondrej Mosnacek <omosnace at redhat.com>
:::::: CC: Paul Moore <paul at paul-moore.com>

0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 8296 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20190820/ecdea6bb/config.gz>

More information about the samba-technical mailing list