[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <492B12E4.1000602@sandeen.net>
Date: Mon, 24 Nov 2008 14:47:32 -0600
From: Eric Sandeen <sandeen@...deen.net>
To: Christoph Hellwig <hch@....de>
CC: linux-kernel@...r.kernel.org, davem@...emloft.net,
tony.luck@...el.com, ralf@...ux-mips.org, kyle@...artin.ca,
schwidefsky@...ibm.com
Subject: Re: [PATCH] generic compat_sys_ustat
Christoph Hellwig wrote:
...
> Index: linux-2.6/fs/compat.c
> ===================================================================
> --- linux-2.6.orig/fs/compat.c 2008-11-20 20:09:52.000000000 +0100
> +++ linux-2.6/fs/compat.c 2008-11-20 20:16:05.000000000 +0100
> @@ -378,6 +378,24 @@ out:
> return error;
> }
>
> +asmlinkage long compat_sys_ustat(unsigned dev, struct compat_ustat __user *u32)
> +{
> + struct ustat *u = compat_alloc_user_space(sizeof(*u));
Also, Pete Zaitcev pointed out to me:
>> Isn't this supposed to be:
>> struct ustat __user *u = compat_alloc_user_space(sizeof(*u));
-Eric
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists