Re: struct_cpy() and kAFS (was: Re: Linux 2.6.8-rc1)

Christoph Hellwig
2004-07-12T18:23:24Z

On Mon, Jul 12, 2004 at 11:11:20AM -0700, Andrew Morton wrote:
> Geert Uytterhoeven <geert@linux-m68k.org> wrote:
> >
> > On Sun, 11 Jul 2004, Linus Torvalds wrote:
> > > David Howells:
> > > o kAFS automount support
> >
> > After this change, all archs need to provide struct_cpy() to make AFS compile,
> > while currently only ia32 and amd64 provide it.
>
> Seems a strange thing to do. Why not rely on the type system?

struct_cpy is used nowehre except in arch/i386/kernel/process.c and AFS,
so we should probably better kill it before people start using it in other
places.