summaryrefslogtreecommitdiffstats
path: root/fs/fhandle.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2017-10-14 19:18:33 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2017-10-14 19:18:33 +0200
commit73ecf5cf141a0c61775c10fdf3a6fc106f326f8c (patch)
tree8569c2daa7fed23e65c2ede283b85715db0e5745 /fs/fhandle.c
parentelf_fdpic: fix unused variable warning (diff)
downloadlinux-73ecf5cf141a0c61775c10fdf3a6fc106f326f8c.tar.xz
linux-73ecf5cf141a0c61775c10fdf3a6fc106f326f8c.zip
do_handle_open() should be static
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/fhandle.c')
-rw-r--r--fs/fhandle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/fhandle.c b/fs/fhandle.c
index 58a61f55e0d0..75cef4deaa77 100644
--- a/fs/fhandle.c
+++ b/fs/fhandle.c
@@ -212,8 +212,8 @@ out_err:
return retval;
}
-long do_handle_open(int mountdirfd,
- struct file_handle __user *ufh, int open_flag)
+static long do_handle_open(int mountdirfd, struct file_handle __user *ufh,
+ int open_flag)
{
long retval = 0;
struct path path;