diff mbox

[2/3] SQUASHME pnfs-blocks: mds_offset is set in the generic layer

Message ID 4DFA2327.800@panasas.com (mailing list archive)
State New, archived
Headers show

Commit Message

Boaz Harrosh June 16, 2011, 3:37 p.m. UTC
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
---
 fs/nfs/blocklayout/blocklayout.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/fs/nfs/blocklayout/blocklayout.c b/fs/nfs/blocklayout/blocklayout.c
index 8843df4..8531fd7 100644
--- a/fs/nfs/blocklayout/blocklayout.c
+++ b/fs/nfs/blocklayout/blocklayout.c
@@ -495,8 +495,6 @@  bl_write_pagelist(struct nfs_write_data *wdata,
 	wdata->res.count = (isect << 9) - (offset);
 	if (count < wdata->res.count)
 		wdata->res.count = count;
-	/* pnfs_set_layoutcommit needs this */
-	wdata->mds_offset = offset;
 	put_extent(be);
 	bl_submit_bio(WRITE, bio);
 	put_parallel(par);