浏览代码

do_handle_open() should be static

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Al Viro 7 年之前
父节点
当前提交
73ecf5cf14
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      fs/fhandle.c

+ 2 - 2
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;