aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fusionio.com>2013-01-24 13:49:14 -0500
committerJosef Bacik <jbacik@fusionio.com>2013-02-20 09:37:26 -0500
commitfe5fafbebd7e648aa6cb0a419dc812188b4d4ac8 (patch)
tree0db34a716a347f26c0d896da4246e1113978383f
parent5b947f1ba959d4b19068f687ecd39900d1eea1aa (diff)
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>
-rw-r--r--fs/btrfs/inode.c6
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,
5036 goto out_unlock; 5036 goto out_unlock;
5037 } 5037 }
5038 5038
5039 err = btrfs_update_inode(trans, root, inode);
5040 if (err) {
5041 drop_inode = 1;
5042 goto out_unlock;
5043 }
5044
5045 /* 5039 /*
5046 * If the active LSM wants to access the inode during 5040 * If the active LSM wants to access the inode during
5047 * d_instantiate it needs these. Smack checks to see 5041 * d_instantiate it needs these. Smack checks to see