xfs
[Top] [All Lists]

Re: xfs compat_ioctl?

To: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Subject: Re: xfs compat_ioctl?
From: Torsten Kaiser <just.for.lkml@xxxxxxxxxxxxxx>
Date: Mon, 31 Aug 2009 20:42:55 +0200
Cc: Michael Tokarev <mjt@xxxxxxxxxx>, Linux-kernel <linux-kernel@xxxxxxxxxxxxxxx>, linux-fsdevel <linux-fsdevel@xxxxxxxxxxxxxxx>, xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=MQKFBT2xogs3a5HcFrxhMvw4ppEdb1ZY7nLkp0QFr90=; b=UVdZnsBmjdQrp2lKqaaxuQd0TrNT7h46eBTAgrflKsDcZHI9whzxjVpGlEDQt8d2Jm t8B9JbtceUk7PY9ZbNblkhaRxT2oQBtkp34NBnPg1xx0DnCfGOUKMEFYD46LuqRqKMKT 9r3GSXMcR7dKgW37li/3QIjtMWW2j/z6dbbIw=
Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Gp3wvQfoMcbndTj75xdA8dAxGe/iLlf+r/VVSysexkcUl7DR+1Y3mZUGiG8AGG9nqN Ontui8AOhNRfhG5HdiuxjqEo+DN0GGnY5+tBQX323FYc1fFUdXUW5R6A0TQ6jEPnWyjy aEtQpQ6dWJaZh75HSgtornrNFY3wqdlb83CFY=
In-reply-to: <20090831182754.GA3620@xxxxxxxxxxxxx>
References: <4A9B759B.7020401@xxxxxxxxxxxxxxxx> <20090831123010.GA2368@xxxxxxxxxxxxx> <64bb37e0908311114t4a3cefc3v8ea5092e1558c578@xxxxxxxxxxxxxx> <20090831182754.GA3620@xxxxxxxxxxxxx>
On Mon, Aug 31, 2009 at 8:27 PM, Christoph Hellwig<hch@xxxxxxxxxxxxx> wrote:
> I think you are right, the constant used is incorrect.  Does the small
> patch below fix it for you?

Thanks, I will try it tomorrow.

Torsten

> 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;
>
>

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