On Fri, 15 Apr 2005 12:57:48 +0100 David Howells <[EMAIL PROTECTED]> wrote:
>
>  (4) Have the ppc64 kernel detect whether it's a 32-bit or a 64-bit userspace
>      and translate the NFS4 mount() syscall if necessary.
>
> I would prefer option (4), otherwise we have to find _all_ usages of the
> mount() system calls and fix them.
> 
> This has the potential to affect other places where we can run 32-bit
> userspace under 64-bit kernels: i386 under x86_64 and s390 under s390x for
> example.

We already have compat_sys_mount that treats the mount data for smbfs and
ncpfs specially, so you could you add an nsfv4 specific bit there?

-- 
Cheers,
Stephen Rothwell                    [EMAIL PROTECTED]
http://www.canb.auug.org.au/~sfr/

Attachment: pgpTay5zUC4DI.pgp
Description: PGP signature

Reply via email to