The patch titled nfs: verifier is network-endian has been added to the -mm tree. Its filename is nfs-verifier-is-network-endian.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: nfs: verifier is network-endian From: Al Viro <viro@xxxxxxxxxxxxxxxx> Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- fs/nfs/nfs3proc.c | 2 +- fs/nfs/nfs4proc.c | 6 +++--- include/linux/nfs_fs.h | 2 +- include/linux/nfs_xdr.h | 8 ++++---- 4 files changed, 9 insertions(+), 9 deletions(-) diff -puN fs/nfs/nfs3proc.c~nfs-verifier-is-network-endian fs/nfs/nfs3proc.c --- a/fs/nfs/nfs3proc.c~nfs-verifier-is-network-endian +++ a/fs/nfs/nfs3proc.c @@ -668,7 +668,7 @@ nfs3_proc_readdir(struct dentry *dentry, { struct inode *dir = dentry->d_inode; struct nfs_fattr dir_attr; - u32 *verf = NFS_COOKIEVERF(dir); + __be32 *verf = NFS_COOKIEVERF(dir); struct nfs3_readdirargs arg = { .fh = NFS_FH(dir), .cookie = cookie, diff -puN fs/nfs/nfs4proc.c~nfs-verifier-is-network-endian fs/nfs/nfs4proc.c --- a/fs/nfs/nfs4proc.c~nfs-verifier-is-network-endian +++ a/fs/nfs/nfs4proc.c @@ -138,7 +138,7 @@ const u32 nfs4_fs_locations_bitmap[2] = | FATTR4_WORD1_MOUNTED_ON_FILEID }; -static void nfs4_setup_readdir(u64 cookie, u32 *verifier, struct dentry *dentry, +static void nfs4_setup_readdir(u64 cookie, __be32 *verifier, struct dentry *dentry, struct nfs4_readdir_arg *readdir) { __be32 *start, *p; @@ -2917,11 +2917,11 @@ int nfs4_proc_setclientid(struct nfs_cli .rpc_resp = clp, .rpc_cred = cred, }; - u32 *p; + __be32 *p; int loop = 0; int status; - p = (u32*)sc_verifier.data; + p = (__be32*)sc_verifier.data; *p++ = htonl((u32)clp->cl_boot_time.tv_sec); *p = htonl((u32)clp->cl_boot_time.tv_nsec); diff -puN include/linux/nfs_fs.h~nfs-verifier-is-network-endian include/linux/nfs_fs.h --- a/include/linux/nfs_fs.h~nfs-verifier-is-network-endian +++ a/include/linux/nfs_fs.h @@ -157,7 +157,7 @@ struct nfs_inode { * This is the cookie verifier used for NFSv3 readdir * operations */ - __u32 cookieverf[2]; + __be32 cookieverf[2]; /* * This is the list of dirty unwritten pages. diff -puN include/linux/nfs_xdr.h~nfs-verifier-is-network-endian include/linux/nfs_xdr.h --- a/include/linux/nfs_xdr.h~nfs-verifier-is-network-endian +++ a/include/linux/nfs_xdr.h @@ -266,7 +266,7 @@ struct nfs_writeargs { struct nfs_writeverf { enum nfs3_stable_how committed; - __u32 verifier[2]; + __be32 verifier[2]; }; struct nfs_writeres { @@ -420,7 +420,7 @@ struct nfs3_createargs { unsigned int len; struct iattr * sattr; enum nfs3_createmode createmode; - __u32 verifier[2]; + __be32 verifier[2]; }; struct nfs3_mkdirargs { @@ -467,7 +467,7 @@ struct nfs3_linkargs { struct nfs3_readdirargs { struct nfs_fh * fh; __u64 cookie; - __u32 verf[2]; + __be32 verf[2]; int plus; unsigned int count; struct page ** pages; @@ -503,7 +503,7 @@ struct nfs3_linkres { struct nfs3_readdirres { struct nfs_fattr * dir_attr; - __u32 * verf; + __be32 * verf; int plus; }; _ Patches currently in -mm which might be from viro@xxxxxxxxxxxxxxxx are origin.patch git-netdev-all.patch bug-nfsd-nfs4xdrc-misuse-of-err_ptr.patch fix-svc_procfunc-declaration.patch lockd-endianness-annotations.patch xdr-annotations-nfsv2.patch xdr-annotations-nfsv3.patch xdr-annotations-nfsv4.patch xdr-annotations-nfs-readdir-entries.patch fs-nfs-callback-passes-error-values-big-endian.patch xdr-annotations-fs-nfs-callback.patch nfs-verifier-is-network-endian.patch xdr-annotations-mount_clnt.patch nfs_common-endianness-annotations.patch nfsd-nfserrno-endianness-annotations.patch nfsfh-simple-endianness-annotations.patch xdr-annotations-nfsd_dispatch.patch xdr-annotations-nfsv2-server.patch xdr-annotations-nfsv3-server.patch xdr-annotations-nfsv4-server.patch nfsd-vfsc-endianness-annotations.patch nfsd-nfs4-code-returns-error-values-in-net-endian.patch nfsd-nfsv23-trivial-endianness-annotations-for-error-values.patch nfsd-nfsv4-errno-endianness-annotations.patch xdr-annotations-nfsd-callback.patch nfsd-misc-endianness-annotations.patch nfsd-nfs_replay_me.patch slab-leaks3-default-y.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html