diff mbox

[V9fs-developer] fs/9p: Use updated offset for writing

Message ID 1300252156-5002-1-git-send-email-mohan@in.ibm.com (mailing list archive)
State Accepted, archived
Delegated to: Eric Van Hensbergen
Headers show

Commit Message

M. Mohan Kumar March 16, 2011, 5:09 a.m. UTC
None
diff mbox

Patch

diff --git a/fs/9p/vfs_file.c b/fs/9p/vfs_file.c
index 6997eb6..51049cd 100644
--- a/fs/9p/vfs_file.c
+++ b/fs/9p/vfs_file.c
@@ -510,7 +510,7 @@  v9fs_file_write(struct file *filp, const char __user * data,
 
 	return v9fs_file_write_internal(filp->f_path.dentry->d_inode,
 					filp->private_data,
-					data, count, offset, 1);
+					data, count, &origin, 1);
 out:
 	return retval;
 }