summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2017-10-14 13:18:33 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2017-10-14 13:18:33 -0400
commit73ecf5cf141a0c61775c10fdf3a6fc106f326f8c (patch)
tree8569c2daa7fed23e65c2ede283b85715db0e5745
parent11e3e8d6d9274bf630859b4c47bc4e4d76f289db (diff)
do_handle_open() should be static
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-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;