diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-02-12 08:38:16 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-03-21 02:29:32 +0100 |
commit | b57ce9694ec43dcb6ef6f189d6540e4b3d2c5e7a (patch) | |
tree | a6eaccac7c19b094d6ba956d3931e7315dfd3ef9 /fs | |
parent | vfs: check i_nlink limits in vfs_{mkdir,rename_dir,link} (diff) | |
download | linux-b57ce9694ec43dcb6ef6f189d6540e4b3d2c5e7a.tar.xz linux-b57ce9694ec43dcb6ef6f189d6540e4b3d2c5e7a.zip |
vfs: drop_file_write_access() made static
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/file_table.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/file_table.c b/fs/file_table.c index 20002e39754d..70f2a0fd6aec 100644 --- a/fs/file_table.c +++ b/fs/file_table.c @@ -204,7 +204,7 @@ EXPORT_SYMBOL(alloc_file); * to write to @file, along with access to write through * 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 dentry *dentry = file->f_path.dentry; @@ -219,7 +219,6 @@ void drop_file_write_access(struct file *file) mnt_drop_write(mnt); file_release_write(file); } -EXPORT_SYMBOL_GPL(drop_file_write_access); /* the real guts of fput() - releasing the last reference to file */ |