From: Trond Myklebust Date: Fri, 8 Jan 2016 13:11:54 +0000 (-0500) Subject: NFSv4: Fix a compile warning about no prototype for nfs4_ioctl() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=926ea40a7ee294767994b67eebff9fa015562902;p=linux-beck.git NFSv4: Fix a compile warning about no prototype for nfs4_ioctl() Signed-off-by: Trond Myklebust --- diff --git a/fs/nfs/nfs4file.c b/fs/nfs/nfs4file.c index db9b5fea5b3e..42c40aab1952 100644 --- a/fs/nfs/nfs4file.c +++ b/fs/nfs/nfs4file.c @@ -310,7 +310,7 @@ static long nfs42_ioctl_clone_range(struct file *dst_file, void __user *argp) args.dest_offset, args.src_length); } -long nfs4_ioctl(struct file *file, unsigned int cmd, unsigned long arg) +static long nfs4_ioctl(struct file *file, unsigned int cmd, unsigned long arg) { void __user *argp = (void __user *)arg;