summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2009-09-01 14:03:08 -0400
committerFelix Blyakher <felixb@sgi.com>2009-09-01 16:55:53 -0500
commitf4378b6eaf63492c0f9a397d52813e0ae6b49e7b (patch)
tree2aaaae7bf689f5af74036e3649dec2a713f8df3f
parentaa72a5cf00001d0b952c7c755be404b9118ceb2e (diff)
downloadblackbird-op-linux-f4378b6eaf63492c0f9a397d52813e0ae6b49e7b.tar.gz
blackbird-op-linux-f4378b6eaf63492c0f9a397d52813e0ae6b49e7b.zip
xfs: actually enable the swapext compat handler
Fix a small typo in the compat ioctl handler that cause the swapext compat handler to never be called. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Torsten Kaiser <just.for.lkml@googlemail.com> Tested-by: Torsten Kaiser <just.for.lkml@googlemail.com> Reviewed-by: Eric Sandeen <sandeen@sandeen.net> Reviewed-by: Felix Blyakher <felixb@sgi.com> Signed-off-by: Felix Blyakher <felixb@sgi.com>
-rw-r--r--fs/xfs/linux-2.6/xfs_ioctl32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/linux-2.6/xfs_ioctl32.c b/fs/xfs/linux-2.6/xfs_ioctl32.c
index 0882d166239a..eafcc7c18706 100644
--- a/fs/xfs/linux-2.6/xfs_ioctl32.c
+++ b/fs/xfs/linux-2.6/xfs_ioctl32.c
@@ -619,7 +619,7 @@ xfs_file_compat_ioctl(
case XFS_IOC_GETVERSION_32:
cmd = _NATIVE_IOC(cmd, long);
return xfs_file_ioctl(filp, cmd, p);
- case XFS_IOC_SWAPEXT: {
+ case XFS_IOC_SWAPEXT_32: {
struct xfs_swapext sxp;
struct compat_xfs_swapext __user *sxu = arg;
OpenPOWER on IntegriCloud