aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/ioctl.c')
-rw-r--r--fs/btrfs/ioctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c
index 5c9f8b30608c..874d36e5f167 100644
--- a/fs/btrfs/ioctl.c
+++ b/fs/btrfs/ioctl.c
@@ -1374,6 +1374,7 @@ static int btrfs_ioctl_defrag(struct file *file, void __user *argp)
1374 sizeof(*range))) { 1374 sizeof(*range))) {
1375 ret = -EFAULT; 1375 ret = -EFAULT;
1376 kfree(range); 1376 kfree(range);
1377 goto out;
1377 } 1378 }
1378 /* compression requires us to start the IO */ 1379 /* compression requires us to start the IO */
1379 if ((range->flags & BTRFS_DEFRAG_RANGE_COMPRESS)) { 1380 if ((range->flags & BTRFS_DEFRAG_RANGE_COMPRESS)) {