Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
7e42ca88
Commit
7e42ca88
authored
Jul 16, 2007
by
Steve French
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CIFS] Typo in previous patch
Signed-off-by:
Steve French
<
sfrench@us.ibm.com
>
parent
6fa20d4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
fs/cifs/inode.c
fs/cifs/inode.c
+1
-2
No files found.
fs/cifs/inode.c
View file @
7e42ca88
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment