The patch titled nfsfh simple endianness annotations has been added to the -mm tree. Its filename is nfsfh-simple-endianness-annotations.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: nfsfh simple endianness annotations From: Al Viro <viro@xxxxxxxxxxxxxxxx> Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- fs/nfsd/nfsfh.c | 10 +++++----- include/linux/nfsd/nfsfh.h | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff -puN fs/nfsd/nfsfh.c~nfsfh-simple-endianness-annotations fs/nfsd/nfsfh.c --- a/fs/nfsd/nfsfh.c~nfsfh-simple-endianness-annotations +++ a/fs/nfsd/nfsfh.c @@ -76,7 +76,7 @@ static int nfsd_acceptable(void *expv, s * comment in the NFSv3 spec says this is incorrect (implementation notes for * the write call). */ -static inline int +static inline __be32 nfsd_mode_check(struct svc_rqst *rqstp, umode_t mode, int type) { /* Type can be negative when creating hardlinks - not to a dir */ @@ -110,13 +110,13 @@ nfsd_mode_check(struct svc_rqst *rqstp, * This is only called at the start of an nfsproc call, so fhp points to * a svc_fh which is all 0 except for the over-the-wire file handle. */ -u32 +__be32 fh_verify(struct svc_rqst *rqstp, struct svc_fh *fhp, int type, int access) { struct knfsd_fh *fh = &fhp->fh_handle; struct svc_export *exp = NULL; struct dentry *dentry; - u32 error = 0; + __be32 error = 0; dprintk("nfsd: fh_verify(%s)\n", SVCFH_fmt(fhp)); @@ -315,7 +315,7 @@ static inline void _fh_update_old(struct fh->ofh_dirino = 0; } -int +__be32 fh_compose(struct svc_fh *fhp, struct svc_export *exp, struct dentry *dentry, struct svc_fh *ref_fh) { /* ref_fh is a reference file handle. @@ -451,7 +451,7 @@ fh_compose(struct svc_fh *fhp, struct sv * Update file handle information after changing a dentry. * This is only called by nfsd_create, nfsd_create_v3 and nfsd_proc_create */ -int +__be32 fh_update(struct svc_fh *fhp) { struct dentry *dentry; diff -puN include/linux/nfsd/nfsfh.h~nfsfh-simple-endianness-annotations include/linux/nfsd/nfsfh.h --- a/include/linux/nfsd/nfsfh.h~nfsfh-simple-endianness-annotations +++ a/include/linux/nfsd/nfsfh.h @@ -209,9 +209,9 @@ extern char * SVCFH_fmt(struct svc_fh *f /* * Function prototypes */ -u32 fh_verify(struct svc_rqst *, struct svc_fh *, int, int); -int fh_compose(struct svc_fh *, struct svc_export *, struct dentry *, struct svc_fh *); -int fh_update(struct svc_fh *); +__be32 fh_verify(struct svc_rqst *, struct svc_fh *, int, int); +__be32 fh_compose(struct svc_fh *, struct svc_export *, struct dentry *, struct svc_fh *); +__be32 fh_update(struct svc_fh *); void fh_put(struct svc_fh *); static __inline__ struct svc_fh * _ 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