diff options
-rw-r--r-- | fs/btrfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 3657925c2461..50ce8840a99b 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c | |||
@@ -4508,7 +4508,7 @@ static int btrfs_mkdir(struct inode *dir, struct dentry *dentry, int mode) | |||
4508 | err = btrfs_find_free_objectid(trans, root, dir->i_ino, &objectid); | 4508 | err = btrfs_find_free_objectid(trans, root, dir->i_ino, &objectid); |
4509 | if (err) { | 4509 | if (err) { |
4510 | err = -ENOSPC; | 4510 | err = -ENOSPC; |
4511 | goto out_unlock; | 4511 | goto out_fail; |
4512 | } | 4512 | } |
4513 | 4513 | ||
4514 | inode = btrfs_new_inode(trans, root, dir, dentry->d_name.name, | 4514 | inode = btrfs_new_inode(trans, root, dir, dentry->d_name.name, |