Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 312936
b: refs/heads/master
c: c3c4f69
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro committed Jul 14, 2012
1 parent 399df60 commit a0ac0f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 85d7d618c17a09cfd824c1ad4483c19e6f9637ff
refs/heads/master: c3c4f69424db0760239762d36d0b1b6ae524008b
2 changes: 1 addition & 1 deletion trunk/fs/open.c
Original file line number Diff line number Diff line change
Expand Up @@ -727,6 +727,7 @@ static int do_dentry_open(struct file *f,

cleanup_all:
fops_put(f->f_op);
file_sb_list_del(f);
if (f->f_mode & FMODE_WRITE) {
put_write_access(inode);
if (!special_file(inode->i_mode)) {
Expand All @@ -740,7 +741,6 @@ static int do_dentry_open(struct file *f,
mnt_drop_write(f->f_path.mnt);
}
}
file_sb_list_del(f);
cleanup_file:
path_put(&f->f_path);
f->f_path.mnt = NULL;
Expand Down

0 comments on commit a0ac0f8

Please sign in to comment.