aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4file.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2016-01-08 08:11:54 -0500
committerTrond Myklebust <trond.myklebust@primarydata.com>2016-01-08 08:11:54 -0500
commit926ea40a7ee294767994b67eebff9fa015562902 (patch)
tree467f793bb818ab39302503849ea51bf076a0094f /fs/nfs/nfs4file.c
parentMerge branch 'bugfixes' (diff)
downloadlinux-dev-926ea40a7ee294767994b67eebff9fa015562902.tar.xz
linux-dev-926ea40a7ee294767994b67eebff9fa015562902.zip
NFSv4: Fix a compile warning about no prototype for nfs4_ioctl()
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to '')
-rw-r--r--fs/nfs/nfs4file.c2
1 files changed, 1 insertions, 1 deletions
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;