Преглед изворни кода

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

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Trond Myklebust пре 10 година
родитељ
комит
926ea40a7e
1 измењених фајлова са 1 додато и 1 уклоњено
  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);
 }
 
-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;