* [PATCH] pnfs: get open context from nfs_page in pnfs_commit
@ 2010-07-01 18:17 Benny Halevy
2010-07-01 18:19 ` Benny Halevy
0 siblings, 1 reply; 2+ messages in thread
From: Benny Halevy @ 2010-07-01 18:17 UTC (permalink / raw)
To: linux-nfs
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,
--
1.6.6.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] pnfs: get open context from nfs_page in pnfs_commit
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
0 siblings, 0 replies; 2+ messages in thread
From: Benny Halevy @ 2010-07-01 18:19 UTC (permalink / raw)
To: linux-nfs
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,
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-07-01 18:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.