[patch 04/11] Add compat handlers for swapext ioctl
Christoph Hellwig
hch at infradead.org
Wed Nov 19 09:08:36 CST 2008
On Tue, Nov 18, 2008 at 10:44:05PM -0600, sandeen at sandeen.net wrote:
> The big hitter here was the bstat field, which contains
> different sized time_t on 32 vs. 64 bit. Add a copyin
> function to translate the 32-bit arg to 64-bit, and
> call the native ioctl.
Same argument as in most previous patches about calling into the
low-level handler directly. Although xfs_swapext will need some changes
to move the copy_from_user into the caller for that.
More information about the xfs
mailing list