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:
Родитель
5b947f1ba9
Коммит
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
|
||||
|
|
Загрузка…
Ссылка в новой задаче