diff options
Diffstat (limited to 'fs/btrfs/inode.c')
-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, | |||
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 |