diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/btrfs/inode.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 1673dbdf1f76..2e6918c85b72 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c | |||
@@ -5041,6 +5041,10 @@ static int btrfs_create(struct inode *dir, struct dentry *dentry, | |||
5041 | if (err) | 5041 | if (err) |
5042 | goto out_unlock; | 5042 | goto out_unlock; |
5043 | 5043 | ||
5044 | err = btrfs_update_inode(trans, root, inode); | ||
5045 | if (err) | ||
5046 | goto out_unlock; | ||
5047 | |||
5044 | /* | 5048 | /* |
5045 | * If the active LSM wants to access the inode during | 5049 | * If the active LSM wants to access the inode during |
5046 | * d_instantiate it needs these. Smack checks to see | 5050 | * d_instantiate it needs these. Smack checks to see |