Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 292320
b: refs/heads/master
c: b57ce96
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro committed Mar 21, 2012
1 parent d36f935 commit 5f973b4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8de52778798fe39660a8d6b26f290e0c93202761
refs/heads/master: b57ce9694ec43dcb6ef6f189d6540e4b3d2c5e7a
3 changes: 1 addition & 2 deletions trunk/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 trunk/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 5f973b4

Please sign in to comment.