projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45bc21e
)
9p: Fixes a simple bug enabling writes beyond 2GB.
author
jvrao
<
[email protected]
>
Mon, 8 Mar 2010 22:07:02 +0000
(22:07 +0000)
committer
Eric Van Hensbergen
<
[email protected]
>
Sat, 13 Mar 2010 14:59:54 +0000
(08:59 -0600)
Fixes a simple bug so that large files beyond 2GB can be created.
Signed-off-by: Venkateswararao Jujjuri <
[email protected]
>
Signed-off-by: Badari Pulavarty <
[email protected]
>
Signed-off-by: Eric Van Hensbergen <
[email protected]
>
fs/9p/vfs_file.c
patch
|
blob
|
history
diff --git
a/fs/9p/vfs_file.c
b/fs/9p/vfs_file.c
index 36122683fae8df1ff12a21b4454788637f89da1e..019f1cd8750b3b31a5b96109f29b7e8a1ea393df 100644
(file)
--- 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;
-
in
t 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,