Skip to content

Commit

Permalink
Revert "Btrfs: fix permissions of empty files not affected by umask"
Browse files Browse the repository at this point in the history
This reverts commit 2794ed0.

Wasn't supposed to get used in btrfs_mknod, it was supposed to be in
btrfs_create, which was done in commit
9185aa5.

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
  • Loading branch information
Josef Bacik committed Feb 20, 2013
1 parent 5b947f1 commit fe5fafb
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions fs/btrfs/inode.c
Original file line number Diff line number Diff line change
@@ -5036,12 +5036,6 @@ static int btrfs_mknod(struct inode *dir, struct dentry *dentry,
goto out_unlock;
}

err = btrfs_update_inode(trans, root, inode);
if (err) {
drop_inode = 1;
goto out_unlock;
}

/*
* If the active LSM wants to access the inode during
* d_instantiate it needs these. Smack checks to see

0 comments on commit fe5fafb

Please sign in to comment.