[pnfs] [PATCH 1/1] pnfs: set stateid for LAYOUTCOMMIT
Benny Halevy
bhalevy at panasas.com
Fri Jun 13 07:14:04 EDT 2008
Thanks!
Merged onto the pnfs branch.
Benny
On Jun. 13, 2008, 14:00 +0300, Fred Isaman <iisaman at citi.umich.edu> wrote:
> LAYOUTCOMMITs were always sent with the zero stateid.
>
> Signed-off-by: Fred Isaman <iisaman at citi.umich.edu>
> ---
> 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 31bda51..f1bcde5 100644
> --- a/fs/nfs/pnfs.c
> +++ b/fs/nfs/pnfs.c
> @@ -1925,7 +1925,7 @@ pnfs_layoutcommit_setup(struct pnfs_layoutcommit_data *data, int sync)
> if (result)
> goto out;
> }
> -
> + pnfs_get_layout_stateid(&data->args.stateid, nfsi->current_layout);
> data->res.fattr = &data->fattr;
> nfs_fattr_init(&data->fattr);
>
More information about the pNFS
mailing list