diff options
author | jvrao <jvrao@linux.vnet.ibm.com> | 2010-03-08 17:07:02 -0500 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@gmail.com> | 2010-03-13 09:59:54 -0500 |
commit | fc0f296126433e61600539325975b6c30681c07e (patch) | |
tree | 982db41753bc2547133c4e84ab703e24d9333010 /fs/9p | |
parent | 45bc21edb52fa71dbb1324c6f573aa880e95519d (diff) |
9p: Fixes a simple bug enabling writes beyond 2GB.
Fixes a simple bug so that large files beyond 2GB can be created.
Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>
Signed-off-by: Badari Pulavarty <pbadari@us.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'fs/9p')
-rw-r--r-- | fs/9p/vfs_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/9p/vfs_file.c b/fs/9p/vfs_file.c index 36122683fae8..019f1cd8750b 100644 --- a/fs/9p/vfs_file.c +++ b/fs/9p/vfs_file.c | |||
@@ -215,7 +215,7 @@ v9fs_file_write(struct file *filp, const char __user * data, | |||
215 | struct p9_fid *fid; | 215 | struct p9_fid *fid; |
216 | struct p9_client *clnt; | 216 | struct p9_client *clnt; |
217 | struct inode *inode = filp->f_path.dentry->d_inode; | 217 | struct inode *inode = filp->f_path.dentry->d_inode; |
218 | int origin = *offset; | 218 | loff_t origin = *offset; |
219 | unsigned long pg_start, pg_end; | 219 | unsigned long pg_start, pg_end; |
220 | 220 | ||
221 | P9_DPRINTK(P9_DEBUG_VFS, "data %p count %d offset %x\n", data, | 221 | P9_DPRINTK(P9_DEBUG_VFS, "data %p count %d offset %x\n", data, |