do_handle_open() should be static
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 14 Oct 2017 17:18:33 +0000 (13:18 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 14 Oct 2017 17:18:33 +0000 (13:18 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/fhandle.c

index 58a61f55e0d09f868bb1bac6a0b4d6e5042822ad..75cef4deaa77a274345a6c6213d576f0c3c43b52 100644 (file)
@@ -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;