[nfs:ioctl 3/5] fs/nfs/ioctl.c:112:27: error: 'const struct nfs_rpc_ops' has no member named 'return_delegation'; did you mean 'have_delegation'?

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

 



tree:   git://git.linux-nfs.org/projects/trondmy/linux-nfs.git ioctl
head:   935e0ffbdaadacdfe519c891d36125f7e7d3d69a
commit: 57e59890e141c3cb14482736c0fbb26229c129a9 [3/5] NFS: Allow users to return the delegation
config: i386-randconfig-x077-201835 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-16) 7.3.0
reproduce:
        git checkout 57e59890e141c3cb14482736c0fbb26229c129a9
        # save the attached .config to linux build tree
        make ARCH=i386 

All error/warnings (new ones prefixed by >>):

   fs/nfs/ioctl.c: In function 'nfs_ioctl_return_delegation':
>> fs/nfs/ioctl.c:112:27: error: 'const struct nfs_rpc_ops' has no member named 'return_delegation'; did you mean 'have_delegation'?
     return NFS_PROTO(inode)->return_delegation(inode);
                              ^~~~~~~~~~~~~~~~~
                              have_delegation
>> fs/nfs/ioctl.c:113:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^

vim +112 fs/nfs/ioctl.c

   107	
   108	static long nfs_ioctl_return_delegation(struct file *filp)
   109	{
   110		struct inode *inode = filp->f_path.dentry->d_inode;
   111	
 > 112		return NFS_PROTO(inode)->return_delegation(inode);
 > 113	}
   114	

---
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 USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux