On Apr. 03, 2009, 3:20 +0300, andros@xxxxxxxxxx wrote: > From: Andy Adamson <andros@xxxxxxxxxx> > > March 31 review comments. > squash into nfsd41: non-page DRC for solo sequence responses > > Signed-off-by: Andy Adamson <andros@xxxxxxxxxx> > --- > include/linux/nfsd/xdr4.h | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/include/linux/nfsd/xdr4.h b/include/linux/nfsd/xdr4.h > index 018a821..0352863 100644 > --- a/include/linux/nfsd/xdr4.h > +++ b/include/linux/nfsd/xdr4.h > @@ -487,10 +487,10 @@ struct nfsd4_compoundres { > struct nfsd4_compound_state cstate; > }; > > -static inline u32 nfsd4_is_solo_sequence(struct nfsd4_compoundres *resp) > +static inline int nfsd4_is_solo_sequence(struct nfsd4_compoundres *resp) returning bool would be best. Benny > { > struct nfsd4_compoundargs *args = resp->rqstp->rq_argp; > - return args->opcnt == 1 ? 1 : 0; > + return args->opcnt == 1; > } > > static inline u32 nfsd4_not_cached(struct nfsd4_compoundres *resp) -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html