From: sandeen@sandeen.net Date: Wed, 26 Nov 2008 03:20:11 +0000 (-0600) Subject: [XFS] Make the bulkstat_one compat ioctl handling more sane X-Git-Tag: v2.6.29-rc1~552^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ee4fa5cb716eba104a4ef8efe159e1007a2aef6;p=pandora-kernel.git [XFS] Make the bulkstat_one compat ioctl handling more sane Currently the compat formatter was handled by passing in "private_data" for the xfs_bulkstat_one formatter, which was really just another formatter... IMHO this got confusing. Instead, just make a new xfs_bulkstat_one_compat formatter for xfs_bulkstat, and call it via a wrapper. Also, don't translate the ioctl nrs into their native counterparts, that just clouds the issue; we're in a compat handler anyway, just switch on the 32-bit cmds. Signed-off-by: Eric Sandeen Reviewed-by: Christoph Hellwig Signed-off-by: Lachlan McIlroy --- Reading git-diff-tree failed