projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fa20d4
)
[CIFS] Typo in previous patch
author
Steve French
<sfrench@us.ibm.com>
Mon, 16 Jul 2007 17:40:02 +0000
(17:40 +0000)
committer
Steve French
<sfrench@us.ibm.com>
Mon, 16 Jul 2007 17:40:02 +0000
(17:40 +0000)
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/inode.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/cifs/inode.c
b/fs/cifs/inode.c
index 9ae901e54412ab818f87dc05ff76a971682d8a9d..3482879b3d3fbf4771b8325e7f7da920b44f4796 100644
(file)
--- 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;