Files
android_kernel_xiaomi_sm8450/fs/btrfs
Hugo Mills e215686715 btrfs: Ensure the tree search ioctl returns the right number of records
Btrfs's tree search ioctl has a field to indicate that no more than a
given number of records should be returned. The ioctl doesn't honour
this, as the tested value is not incremented until the end of the
copy_to_sk function. This patch removes an unnecessary local variable,
and updates the num_found counter as each key is found in the tree.

Signed-off-by: Hugo Mills <hugo@carfax.org.uk>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
2011-05-23 13:05:39 -04:00
..
2011-05-23 13:05:39 -04:00
2011-05-23 13:05:39 -04:00
2008-09-25 11:04:06 -04:00
2011-03-31 11:26:23 -03:00
2011-03-28 05:37:35 -04:00
2010-12-22 23:15:47 +08:00
2010-12-22 23:15:47 +08:00
2011-03-31 11:26:23 -03:00