Skip to content

Commit

Permalink
vfs: drop_file_write_access() made static
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <[email protected]>
  • Loading branch information
Al Viro committed Mar 21, 2012
1 parent 8de5277 commit b57ce96
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions fs/file_table.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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
*/
Expand Down
1 change: 0 additions & 1 deletion include/linux/file.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
struct file;

extern void fput(struct file *);
extern void drop_file_write_access(struct file *file);

struct file_operations;
struct vfsmount;
Expand Down

0 comments on commit b57ce96

Please sign in to comment.