From: Benny Halevy <bhalevy@panasas.com>
To: andros@netapp.com
Cc: linux-nfs@vger.kernel.org
Subject: Re: [PATCH 1/1] SQUASHME pnfs-submit pnfs operations use new nfs4_sequence_done
Date: Mon, 19 Jul 2010 11:46:11 +0300 [thread overview]
Message-ID: <4C4410D3.3070900@panasas.com> (raw)
In-Reply-To: <1279295797-4113-2-git-send-email-andros@netapp.com>
Andy, I've fixed this already in my tree, but with additionaly
checking on nfs4_sequence_done's status:
if (!nfs4_sequence_done(task, &res))
return 0;
Benny
On Jul. 16, 2010, 18:56 +0300, andros@netapp.com wrote:
> From: Andy Adamson <andros@netapp.com>
>
> Signed-off-by: Andy Adamson <andros@netapp.com>
> ---
> fs/nfs/nfs4proc.c | 6 +++---
> 1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
> index f5779a1..17b0c31 100644
> --- a/fs/nfs/nfs4proc.c
> +++ b/fs/nfs/nfs4proc.c
> @@ -5448,7 +5448,7 @@ static void nfs4_pnfs_layoutget_done(struct rpc_task *task, void *calldata)
>
> dprintk("--> %s\n", __func__);
>
> - nfs4_sequence_done(server, &lgp->res.seq_res, task->tk_status);
> + nfs4_sequence_done(task, &lgp->res.seq_res);
>
> if (RPC_ASSASSINATED(task))
> return;
> @@ -5558,7 +5558,7 @@ pnfs_layoutcommit_done(struct rpc_task *task, void *calldata)
> (struct pnfs_layoutcommit_data *)calldata;
> struct nfs_server *server = NFS_SERVER(data->args.inode);
>
> - nfs4_sequence_done(server, &data->res.seq_res, task->tk_status);
> + nfs4_sequence_done(task, &data->res.seq_res);
> if (RPC_ASSASSINATED(task))
> return;
>
> @@ -5666,7 +5666,7 @@ static void nfs4_pnfs_layoutreturn_done(struct rpc_task *task, void *calldata)
>
> dprintk("--> %s\n", __func__);
>
> - nfs4_sequence_done(server, &lrp->res.seq_res, task->tk_status);
> + nfs4_sequence_done(task, &lrp->res.seq_res);
> if (RPC_ASSASSINATED(task))
> return;
>
next prev parent reply other threads:[~2010-07-19 8:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-16 15:56 [PATCH 1/1] SQUASHME pnfs-submit pnfs operations use new nfs4_sequence_done andros
2010-07-16 15:56 ` andros
2010-07-19 8:46 ` Benny Halevy [this message]
2010-07-19 13:44 ` Andy Adamson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C4410D3.3070900@panasas.com \
--to=bhalevy@panasas.com \
--cc=andros@netapp.com \
--cc=linux-nfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.