فهرست منبع

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>
Josef Bacik 12 سال پیش
والد
کامیت
fe5fafbebd
1فایلهای تغییر یافته به همراه0 افزوده شده و 6 حذف شده
  1. 0 6
      fs/btrfs/inode.c

+ 0 - 6
fs/btrfs/inode.c

@@ -5036,12 +5036,6 @@ static int btrfs_mknod(struct inode *dir, struct dentry *dentry,
 		goto out_unlock;
 		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
 	* If the active LSM wants to access the inode during
 	* d_instantiate it needs these. Smack checks to see
 	* d_instantiate it needs these. Smack checks to see