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 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, | |||
997 | read_extent_buffer(leaf, p, | 997 | read_extent_buffer(leaf, p, |
998 | item_off, item_len); | 998 | item_off, item_len); |
999 | *sk_offset += item_len; | 999 | *sk_offset += item_len; |
1000 | found++; | ||
1001 | } | 1000 | } |
1001 | found++; | ||
1002 | 1002 | ||
1003 | if (*num_found >= sk->nr_items) | 1003 | if (*num_found >= sk->nr_items) |
1004 | break; | 1004 | break; |