]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: move swap extent code to xfs_extent_ops
authorDave Chinner <dchinner@redhat.com>
Wed, 4 Sep 2013 22:05:39 +0000 (22:05 +0000)
committerRich Johnston <rjohnston@sgi.com>
Mon, 16 Sep 2013 20:14:44 +0000 (15:14 -0500)
commite334fb793b1f4aedf04926f17ee0179f48e55315
treef3b6889975c8c34aa51c627eaa168b5b831c8771
parent9326464bc6f9e14b2d087faf0aee86b4f935f2aa
xfs: move swap extent code to xfs_extent_ops

Swapping extents is clearly an extent operaiton, and it is not
shared with userspace. Move the code to xfs_extent_ops.[ch], and
the userspace ioctl structure definition to xfs_fs.h where most of
the other ioctl structure definitions are. The means xfs_dfrag.h is
no longer needed in userspace.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
fsr/xfs_fsr.c
include/Makefile
include/xfs_dfrag.h [deleted file]
include/xfs_fs.h