提交 b57ce969 编写于 作者: A Al Viro

vfs: drop_file_write_access() made static

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 8de52778
...@@ -204,7 +204,7 @@ EXPORT_SYMBOL(alloc_file); ...@@ -204,7 +204,7 @@ EXPORT_SYMBOL(alloc_file);
* to write to @file, along with access to write through * to write to @file, along with access to write through
* its vfsmount. * its vfsmount.
*/ */
void drop_file_write_access(struct file *file) static void drop_file_write_access(struct file *file)
{ {
struct vfsmount *mnt = file->f_path.mnt; struct vfsmount *mnt = file->f_path.mnt;
struct dentry *dentry = file->f_path.dentry; struct dentry *dentry = file->f_path.dentry;
...@@ -219,7 +219,6 @@ void drop_file_write_access(struct file *file) ...@@ -219,7 +219,6 @@ void drop_file_write_access(struct file *file)
mnt_drop_write(mnt); mnt_drop_write(mnt);
file_release_write(file); file_release_write(file);
} }
EXPORT_SYMBOL_GPL(drop_file_write_access);
/* the real guts of fput() - releasing the last reference to file /* the real guts of fput() - releasing the last reference to file
*/ */
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
struct file; struct file;
extern void fput(struct file *); extern void fput(struct file *);
extern void drop_file_write_access(struct file *file);
struct file_operations; struct file_operations;
struct vfsmount; struct vfsmount;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册