diff --git a/[refs] b/[refs] index e7021197f4db..158892f6ccdd 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 31e502298d80e2af9001d17dc419a3fd4b0bebef +refs/heads/master: 9185aa587b7425f8f4520da2e66792f5f3c2b815 diff --git a/trunk/fs/btrfs/inode.c b/trunk/fs/btrfs/inode.c index 1673dbdf1f76..2e6918c85b72 100644 --- a/trunk/fs/btrfs/inode.c +++ b/trunk/fs/btrfs/inode.c @@ -5041,6 +5041,10 @@ static int btrfs_create(struct inode *dir, struct dentry *dentry, if (err) goto out_unlock; + err = btrfs_update_inode(trans, root, inode); + if (err) + goto out_unlock; + /* * If the active LSM wants to access the inode during * d_instantiate it needs these. Smack checks to see