summaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_ioctl32.c
diff options
context:
space:
mode:
authorChristoph Hellwig2009-09-01 20:03:08 +0200
committerFelix Blyakher2009-09-02 00:00:46 +0200
commit3725867dccfb83e4b0cff64e916a04258f300591 (patch)
tree5c7f888895bf63994a85a02658f1a3433b2dccae /fs/xfs/linux-2.6/xfs_ioctl32.c
parentxfs: fix locking in xfs_iget_cache_hit (diff)
downloadkernel-qcow2-linux-3725867dccfb83e4b0cff64e916a04258f300591.tar.gz
kernel-qcow2-linux-3725867dccfb83e4b0cff64e916a04258f300591.tar.xz
kernel-qcow2-linux-3725867dccfb83e4b0cff64e916a04258f300591.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>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_ioctl32.c')
-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;