NFSv4: Fix a compile warning about no prototype for nfs4_ioctl()
authorTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 8 Jan 2016 13:11:54 +0000 (08:11 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 8 Jan 2016 13:11:54 +0000 (08:11 -0500)
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs4file.c

index db9b5fea5b3ef12f6eacf36cd2154c2db7d4d9f2..42c40aab1952df0feda7efa7fe8436942761ff2d 100644 (file)
@@ -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;