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
Kirill Smelkov
linux
Commits
ff215713
Commit
ff215713
authored
Mar 09, 2010
by
Steve French
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CIFS] checkpatch cleanup
Signed-off-by:
Steve French
<
sfrench@us.ibm.com
>
parent
abab095d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
fs/cifs/file.c
fs/cifs/file.c
+2
-2
fs/cifs/inode.c
fs/cifs/inode.c
+3
-3
No files found.
fs/cifs/file.c
View file @
ff215713
...
@@ -219,8 +219,8 @@ static inline int cifs_open_inode_helper(struct inode *inode, struct file *file,
...
@@ -219,8 +219,8 @@ static inline int cifs_open_inode_helper(struct inode *inode, struct file *file,
cFYI
(
1
,
(
"inode unchanged on server"
));
cFYI
(
1
,
(
"inode unchanged on server"
));
}
else
{
}
else
{
if
(
file
->
f_path
.
dentry
->
d_inode
->
i_mapping
)
{
if
(
file
->
f_path
.
dentry
->
d_inode
->
i_mapping
)
{
/* BB no need to lock inode until after invalidate
/* BB no need to lock inode until after invalidate
since namei code should already have it locked? */
since namei code should already have it locked? */
rc
=
filemap_write_and_wait
(
file
->
f_path
.
dentry
->
d_inode
->
i_mapping
);
rc
=
filemap_write_and_wait
(
file
->
f_path
.
dentry
->
d_inode
->
i_mapping
);
if
(
rc
!=
0
)
if
(
rc
!=
0
)
CIFS_I
(
file
->
f_path
.
dentry
->
d_inode
)
->
write_behind_rc
=
rc
;
CIFS_I
(
file
->
f_path
.
dentry
->
d_inode
)
->
write_behind_rc
=
rc
;
...
...
fs/cifs/inode.c
View file @
ff215713
...
@@ -510,9 +510,9 @@ int cifs_get_file_info(struct file *filp)
...
@@ -510,9 +510,9 @@ int cifs_get_file_info(struct file *filp)
if
(
rc
==
-
EOPNOTSUPP
||
rc
==
-
EINVAL
)
{
if
(
rc
==
-
EOPNOTSUPP
||
rc
==
-
EINVAL
)
{
/*
/*
* FIXME: legacy server -- fall back to path-based call?
* FIXME: legacy server -- fall back to path-based call?
* for now, just skip revalidating and mark inode for
* for now, just skip revalidating and mark inode for
* immediate reval.
* immediate reval.
*/
*/
rc
=
0
;
rc
=
0
;
CIFS_I
(
inode
)
->
time
=
0
;
CIFS_I
(
inode
)
->
time
=
0
;
goto
cgfi_exit
;
goto
cgfi_exit
;
...
...
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