summaryrefslogtreecommitdiff
path: root/fs/btrfs/ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/ioctl.c')
-rw-r--r--fs/btrfs/ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c
index 291aa51ff420..fd757f576956 100644
--- a/fs/btrfs/ioctl.c
+++ b/fs/btrfs/ioctl.c
@@ -997,8 +997,8 @@ static noinline int copy_to_sk(struct btrfs_root *root,
read_extent_buffer(leaf, p,
item_off, item_len);
*sk_offset += item_len;
- found++;
}
+ found++;
if (*num_found >= sk->nr_items)
break;