diff options
author | jvrao <jvrao@linux.vnet.ibm.com> | 2010-03-08 22:07:02 +0000 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@gmail.com> | 2010-03-13 08:59:54 -0600 |
commit | fc0f296126433e61600539325975b6c30681c07e (patch) | |
tree | 982db41753bc2547133c4e84ab703e24d9333010 /fs/9p | |
parent | 45bc21edb52fa71dbb1324c6f573aa880e95519d (diff) | |
download | kernel_samsung_tuna-fc0f296126433e61600539325975b6c30681c07e.zip kernel_samsung_tuna-fc0f296126433e61600539325975b6c30681c07e.tar.gz kernel_samsung_tuna-fc0f296126433e61600539325975b6c30681c07e.tar.bz2 |
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 3612268..019f1cd 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, struct p9_fid *fid; struct p9_client *clnt; struct inode *inode = filp->f_path.dentry->d_inode; - int origin = *offset; + loff_t origin = *offset; unsigned long pg_start, pg_end; P9_DPRINTK(P9_DEBUG_VFS, "data %p count %d offset %x\n", data, |