Browse Source

NFSv4: Fix a compile warning about no prototype for nfs4_ioctl()

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Trond Myklebust 9 years ago
parent
commit
926ea40a7e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fs/nfs/nfs4file.c

+ 1 - 1
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);
 				 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;
 	void __user *argp = (void __user *)arg;