On Fri, 2016-06-10 at 11:49 -0400, Trond Myklebust wrote: > nfs4_handle_exception() relies on the caller setting the 'inode' field > in the struct nfs4_exception argument when the error applies to a > delegation. > > Signed-off-by: Trond Myklebust <trond.myklebust@xxxxxxxxxxxxxxx> > --- > fs/nfs/nfs4proc.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c > index de97567795a5..27fe63b502d5 100644 > --- a/fs/nfs/nfs4proc.c > +++ b/fs/nfs/nfs4proc.c > @@ -8036,7 +8036,10 @@ nfs4_proc_layoutget(struct nfs4_layoutget *lgp, long *timeout, gfp_t gfp_flags) > .flags = RPC_TASK_ASYNC, > }; > struct pnfs_layout_segment *lseg = NULL; > - struct nfs4_exception exception = { .timeout = *timeout }; > + struct nfs4_exception exception = { > + .inode = inode, > + .timeout = *timeout, > + }; > int status = 0; > > dprintk("--> %s\n", __func__); The whole set looks good to me. You can add this to all of them: Reviewed-by: Jeff Layton <jlayton@xxxxxxxxxxxxxxx> -- 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