author: Al Viro <viro@zeniv.linux.org.uk> 2013-10-04 11:06:42 -0400
committer: Al Viro <viro@zeniv.linux.org.uk> 2013-11-09 00:16:20 -0500
commit: eee5cc2702929fd41cce28058dc6d6717f723f87
parent: 8b61e74ffc6310e1d35a9b51c8463093851f8bcf
Commit Summary:
Diffstat:
1 file changed, 0 insertions, 2 deletions
diff --git a/fs/open.c b/fs/open.c
index a1465b1ec8c7..fffbed40dbe9 100644
--- a/fs/open.c
+++ b/fs/open.c
@@ -685,7 +685,6 @@ static int do_dentry_open(struct file *f,
}
f->f_mapping = inode->i_mapping;
- file_sb_list_add(f, inode->i_sb);
if (unlikely(f->f_mode & FMODE_PATH)) {
f->f_op = &empty_fops;
@@ -724,7 +723,6 @@ 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)) {