diff options
author | Josef Bacik <jbacik@fusionio.com> | 2013-01-24 13:49:14 -0500 |
---|---|---|
committer | Josef Bacik <jbacik@fusionio.com> | 2013-02-20 09:37:26 -0500 |
commit | fe5fafbebd7e648aa6cb0a419dc812188b4d4ac8 (patch) | |
tree | 0db34a716a347f26c0d896da4246e1113978383f /fs | |
parent | 5b947f1ba959d4b19068f687ecd39900d1eea1aa (diff) | |
download | linux-fe5fafbebd7e648aa6cb0a419dc812188b4d4ac8.tar.bz2 |
Revert "Btrfs: fix permissions of empty files not affected by umask"
This reverts commit 2794ed013b3551cbae887ea1b93c52aaacb7370d.
Wasn't supposed to get used in btrfs_mknod, it was supposed to be in
btrfs_create, which was done in commit
9185aa587b7425f8f4520da2e66792f5f3c2b815.
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/btrfs/inode.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index d1e3a2d15f91..60ec7589900c 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -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 |