diff options
author | Eric Sandeen <sandeen@sandeen.net> | 2008-11-28 14:23:35 +1100 |
---|---|---|
committer | Niv Sardi <xaiki@sgi.com> | 2008-12-01 11:29:42 +1100 |
commit | f35642e2f89f2b0379e929bd9027342365abc839 (patch) | |
tree | 1a00bb1501497bb25d597b113fabfaa7a631e406 /mm/memory.c | |
parent | 5af317c942aebc928ab244eb69581bd8e5333215 (diff) |
[XFS] Hook up the fiemap ioctl.
This adds the fiemap inode_operation, which for us converts the
fiemap values & flags into a getbmapx structure which can be sent
to xfs_getbmap. The formatter then copies the bmv array back into
the user's fiemap buffer via the fiemap helpers.
If we wanted to be more clever, we could also return mapping data
for in-inode attributes, but I'm not terribly motivated to do that
just yet.
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Niv Sardi <xaiki@sgi.com>
Diffstat (limited to 'mm/memory.c')
0 files changed, 0 insertions, 0 deletions