Re: [PATCH] pnfs: get open context from nfs_page in pnfs_commit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Merged at pnfs-all-2.6.34-2010-07-01

Benny

On Jul. 01, 2010, 21:17 +0300, Benny Halevy <bhalevy@xxxxxxxxxxx> wrote:
> To fix a BUG_ON(!ctx) in pnfs_update_layout
> 
> Signed-off-by: Benny Halevy <bhalevy@xxxxxxxxxxx>
> ---
>  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,

--
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


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux