summaryrefslogtreecommitdiffstats
path: root/fs/cifs/inode.c
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2007-07-16 17:40:02 +0000
committerSteve French <sfrench@us.ibm.com>2007-07-16 17:40:02 +0000
commit7e42ca886b0282679c2721dc4853163cc89b8a34 (patch)
tree5e642d0d1403ed7e4842c74dac75fab7fd475284 /fs/cifs/inode.c
parent6fa20d4fb58cb342638bc14658083aadcad8fb74 (diff)
downloadlinux-7e42ca886b0282679c2721dc4853163cc89b8a34.tar.gz
linux-7e42ca886b0282679c2721dc4853163cc89b8a34.tar.bz2
linux-7e42ca886b0282679c2721dc4853163cc89b8a34.zip
[CIFS] Typo in previous patch
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/inode.c')
-rw-r--r--fs/cifs/inode.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c
index 9ae901e54412..3482879b3d3f 100644
--- a/fs/cifs/inode.c
+++ b/fs/cifs/inode.c
@@ -1346,14 +1346,13 @@ static int cifs_truncate_page(struct address_space *mapping, loff_t from)
pgoff_t index = from >> PAGE_CACHE_SHIFT;
unsigned offset = from & (PAGE_CACHE_SIZE - 1);
struct page *page;
- char *kaddr;
int rc = 0;
page = grab_cache_page(mapping, index);
if (!page)
return -ENOMEM;
- zero_user_page(page, offset, PAGE_CACHE_SIZE - offset), KM_USER0);
+ zero_user_page(page, offset, PAGE_CACHE_SIZE - offset, KM_USER0);
unlock_page(page);
page_cache_release(page);
return rc;