From 2dc13ca17a66e81dfd9c67a75dce93fd421ad392 Mon Sep 17 00:00:00 2001 From: Vitaliy Gusev Date: Fri, 20 May 2011 01:34:46 +0400 Subject: [PATCH] --- yaml --- r: 252786 b: refs/heads/master c: 4b8ee2b82e8b0b6e17ee33feb74fcdb5c6d8dbdd h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/nfs/pnfs.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 8f389e419533..ce365836491c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 60c16ea877546e559988a8b1e4f4256afbbd83e6 +refs/heads/master: 4b8ee2b82e8b0b6e17ee33feb74fcdb5c6d8dbdd diff --git a/trunk/fs/nfs/pnfs.c b/trunk/fs/nfs/pnfs.c index f57f5281a520..101c85a3644e 100644 --- a/trunk/fs/nfs/pnfs.c +++ b/trunk/fs/nfs/pnfs.c @@ -1009,7 +1009,7 @@ void pnfs_set_layoutcommit(struct nfs_write_data *wdata) { struct nfs_inode *nfsi = NFS_I(wdata->inode); - loff_t end_pos = wdata->args.offset + wdata->res.count; + loff_t end_pos = wdata->mds_offset + wdata->res.count; bool mark_as_dirty = false; spin_lock(&nfsi->vfs_inode.i_lock);