xdr4.h (b2140338d8dca827ad9e83f3e026e9d51748b265) xdr4.h (716a8bc7f706eeef80ab42c99d9f210eda845c81)
1/*
2 * Server-side types for NFSv4.
3 *
4 * Copyright (c) 2002 The Regents of the University of Michigan.
5 * All rights reserved.
6 *
7 * Kendrick Smith <kmsmith@umich.edu>
8 * Andy Adamson <andros@umich.edu>

--- 734 unchanged lines hidden (view full) ---

743void warn_on_nonidempotent_op(struct nfsd4_op *op);
744
745#define NFS4_SVC_XDRSIZE sizeof(struct nfsd4_compoundargs)
746
747static inline void
748set_change_info(struct nfsd4_change_info *cinfo, struct svc_fh *fhp)
749{
750 BUG_ON(!fhp->fh_pre_saved);
1/*
2 * Server-side types for NFSv4.
3 *
4 * Copyright (c) 2002 The Regents of the University of Michigan.
5 * All rights reserved.
6 *
7 * Kendrick Smith <kmsmith@umich.edu>
8 * Andy Adamson <andros@umich.edu>

--- 734 unchanged lines hidden (view full) ---

743void warn_on_nonidempotent_op(struct nfsd4_op *op);
744
745#define NFS4_SVC_XDRSIZE sizeof(struct nfsd4_compoundargs)
746
747static inline void
748set_change_info(struct nfsd4_change_info *cinfo, struct svc_fh *fhp)
749{
750 BUG_ON(!fhp->fh_pre_saved);
751 cinfo->atomic = (u32)fhp->fh_post_saved;
751 cinfo->atomic = (u32)(fhp->fh_post_saved && !fhp->fh_no_atomic_attr);
752
753 cinfo->before_change = fhp->fh_pre_change;
754 cinfo->after_change = fhp->fh_post_change;
755}
756
757
758bool nfsd4_mach_creds_match(struct nfs4_client *cl, struct svc_rqst *rqstp);
759int nfs4svc_decode_compoundargs(struct svc_rqst *, __be32 *);

--- 116 unchanged lines hidden ---
752
753 cinfo->before_change = fhp->fh_pre_change;
754 cinfo->after_change = fhp->fh_post_change;
755}
756
757
758bool nfsd4_mach_creds_match(struct nfs4_client *cl, struct svc_rqst *rqstp);
759int nfs4svc_decode_compoundargs(struct svc_rqst *, __be32 *);

--- 116 unchanged lines hidden ---