projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eedfe1c
)
9p: Fix incorrect parameters to v9fs_file_readn.
author
Abhishek Kulkarni
<adkulkar@umail.iu.edu>
Tue, 14 Jul 2009 18:26:52 +0000
(13:26 -0500)
committer
Eric Van Hensbergen
<ericvh@vTrogdor.(none)>
Tue, 14 Jul 2009 20:54:42 +0000
(15:54 -0500)
Fix v9fs_vfs_readpage. The offset and size parameters to v9fs_file_readn
were interchanged and hence passed incorrectly.
Signed-off-by: Abhishek Kulkarni <adkulkar@umail.iu.edu>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
fs/9p/vfs_addr.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/9p/vfs_addr.c
b/fs/9p/vfs_addr.c
index 6fcb1e7095cfe0a97255170656d76e3fe8ed9a30..92828281a30b9a0a449255003d6bf4468fab0512 100644
(file)
--- a/
fs/9p/vfs_addr.c
+++ b/
fs/9p/vfs_addr.c
@@
-57,7
+57,7
@@
static int v9fs_vfs_readpage(struct file *filp, struct page *page)
buffer = kmap(page);
offset = page_offset(page);
- retval = v9fs_file_readn(filp, buffer, NULL,
offset, PAGE_CACHE_SIZE
);
+ retval = v9fs_file_readn(filp, buffer, NULL,
PAGE_CACHE_SIZE, offset
);
if (retval < 0)
goto done;