mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-30 13:38:40 +00:00
Revert "Btrfs: fix permissions of empty files not affected by umask"
This reverts commit2794ed013b
. Wasn't supposed to get used in btrfs_mknod, it was supposed to be in btrfs_create, which was done in commit9185aa587b
. Signed-off-by: Josef Bacik <jbacik@fusionio.com>
This commit is contained in:
parent
5b947f1ba9
commit
fe5fafbebd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user