xfs
[Top] [All Lists]

Re: [PATCH] xfs: actually enable the swapext compat handler

To: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Subject: Re: [PATCH] xfs: actually enable the swapext compat handler
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Tue, 01 Sep 2009 14:45:59 -0500
Cc: xfs@xxxxxxxxxxx
In-reply-to: <20090901180308.GA26071@xxxxxxxxxxxxx>
References: <20090901180308.GA26071@xxxxxxxxxxxxx>
User-agent: Thunderbird 2.0.0.21 (X11/20090320)
Christoph Hellwig wrote:
> 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@xxxxxx>
> Reviewed-by: Torsten Kaiser <just.for.lkml@xxxxxxxxxxxxxx>
> Tested-by: Torsten Kaiser <just.for.lkml@xxxxxxxxxxxxxx>

Guilty-party: Eric Sandeen <sandeen@xxxxxxxxxxx>
Reviewed-by: Eric Sandeen <sandeen@xxxxxxxxxxx>


> Index: linux-2.6/fs/xfs/linux-2.6/xfs_ioctl32.c
> ===================================================================
> --- linux-2.6.orig/fs/xfs/linux-2.6/xfs_ioctl32.c     2009-08-31 
> 15:25:06.093044591 -0300
> +++ linux-2.6/fs/xfs/linux-2.6/xfs_ioctl32.c  2009-08-31 15:25:10.856544216 
> -0300
> @@ -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;
>  
> 
> _______________________________________________
> xfs mailing list
> xfs@xxxxxxxxxxx
> http://oss.sgi.com/mailman/listinfo/xfs
> 

<Prev in Thread] Current Thread [Next in Thread>