Re: [RFC v3 41/45] rpc: Allow to demand-allocate pages to encode into

From: Andreas GrÃnbacher
Date: Fri May 29 2015 - 11:46:25 EST


2015-05-29 1:24 GMT+02:00 Trond Myklebust <trond.myklebust@xxxxxxxxxxxxxxx>:
> xdr_get_next_encode() should return NULL on failure, not ENOMEM.
> Why is this trying to do a GFP_KERNEL allocation inside an XDR routine
> anyway? That's not an I/O safe sleep.

Fixed, thanks.

Andreas
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/