From: Benny Halevy <bhalevy@panasas.com>
To: linux-nfs@vger.kernel.org
Subject: Re: [PATCH] pnfs: get open context from nfs_page in pnfs_commit
Date: Thu, 01 Jul 2010 21:19:49 +0300 [thread overview]
Message-ID: <4C2CDC45.6070900@panasas.com> (raw)
In-Reply-To: <1278008253-24666-1-git-send-email-bhalevy@panasas.com>
Merged at pnfs-all-2.6.34-2010-07-01
Benny
On Jul. 01, 2010, 21:17 +0300, Benny Halevy <bhalevy@panasas.com> wrote:
> To fix a BUG_ON(!ctx) in pnfs_update_layout
>
> Signed-off-by: Benny Halevy <bhalevy@panasas.com>
> ---
> fs/nfs/pnfs.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/fs/nfs/pnfs.c b/fs/nfs/pnfs.c
> index a4f50f6..784ea80 100644
> --- a/fs/nfs/pnfs.c
> +++ b/fs/nfs/pnfs.c
> @@ -2015,7 +2015,7 @@ pnfs_commit(struct nfs_write_data *data, int sync)
> before returning it, otherwise the data needs to be rewritten,
> either with a new layout or to the MDS */
> result = pnfs_update_layout(data->inode,
> - NULL,
> + first->wb_context,
> count,
> first->wb_offset,
> IOMODE_RW,
prev parent reply other threads:[~2010-07-01 18:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-01 18:17 [PATCH] pnfs: get open context from nfs_page in pnfs_commit Benny Halevy
2010-07-01 18:19 ` Benny Halevy [this message]
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=4C2CDC45.6070900@panasas.com \
--to=bhalevy@panasas.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.