Re: [patch 054/272] compat: move cp_compat_stat to common code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 15, 2008 at 10:02:05PM -0700, akpm@xxxxxxxxxxxxxxxxxxxx wrote:
> From: Christoph Hellwig <hch@xxxxxx>
> 
> struct stat / compat_stat is the same on all architectures, so
> cp_compat_stat should be, too.
> 
> Turns out it is, except that various architectures have slightly and some
> high2lowuid/high2lowgid or the direct assignment instead of the
> SET_UID/SET_GID that expands to the correct one anyway.
> 
> This patch replaces the arch-specific cp_compat_stat implementations with
> a common one based on the x86-64 one.
> 
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> Cc: <linux-arch@xxxxxxxxxxxxxxx>
> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>

direct cc's would have been nice. ;-)

Acked-by: Kyle McMartin <kyle@xxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux