diff options
author | Abhishek Kulkarni <adkulkar@umail.iu.edu> | 2009-07-14 13:26:52 -0500 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@vTrogdor.(none)> | 2009-07-14 15:54:42 -0500 |
commit | 9c9ad6162e2aa1e528ed687ccab87fe681ebbef1 (patch) | |
tree | 8343cd241fa3812f08ff016d57f13be97fe4da37 /fs/9p | |
parent | eedfe1c4289216af5a0a7f38e6b2c4d3f07c087f (diff) | |
download | lwn-9c9ad6162e2aa1e528ed687ccab87fe681ebbef1.tar.gz lwn-9c9ad6162e2aa1e528ed687ccab87fe681ebbef1.zip |
9p: Fix incorrect parameters to v9fs_file_readn.
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>
Diffstat (limited to 'fs/9p')
-rw-r--r-- | fs/9p/vfs_addr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/9p/vfs_addr.c b/fs/9p/vfs_addr.c index 6fcb1e7095cf..92828281a30b 100644 --- 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; |