diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/btrfs/ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c index e8a26a3aac3e..fdd88f2f1ece 100644 --- a/fs/btrfs/ioctl.c +++ b/fs/btrfs/ioctl.c | |||
@@ -1351,7 +1351,7 @@ static noinline int btrfs_ioctl_snap_destroy(struct file *file, | |||
1351 | BUG_ON(ret); | 1351 | BUG_ON(ret); |
1352 | } | 1352 | } |
1353 | 1353 | ||
1354 | ret = btrfs_commit_transaction(trans, root); | 1354 | ret = btrfs_end_transaction(trans, root); |
1355 | BUG_ON(ret); | 1355 | BUG_ON(ret); |
1356 | inode->i_flags |= S_DEAD; | 1356 | inode->i_flags |= S_DEAD; |
1357 | out_up_write: | 1357 | out_up_write: |