[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:   8c79972291939ffd942a0b89402c4c1be2bad6fa
commit: ba73c90b202c31c52fcae532b52f600cff002c9b [3/5] NFS: Allow users to return the delegation
config: x86_64-randconfig-x010-201818 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-16) 7.3.0
reproduce:
        git checkout ba73c90b202c31c52fcae532b52f600cff002c9b
        # save the attached .config to linux build tree
        make ARCH=x86_64 

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