Btrfs: return keys for large items to the search ioctl
authorChris Mason <chris.mason@oracle.com>
Thu, 18 Mar 2010 16:14:54 +0000 (12:14 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 18 Mar 2010 16:14:54 +0000 (12:14 -0400)
commit90fdde147fd32d18a20be5b498d5f26e56cca8a3
treeab861e9190145df710345bb1e54c5f3f1d77d296
parentabc6e1341bda974e2d0eddb75f57a20ac18e9b33
Btrfs: return keys for large items to the search ioctl

The search ioctl was skipping large items entirely (ones that are too
big for the results buffer).  This changes things to at least copy
the item header so that we can send information about the item back to
userland.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/ioctl.c