Commit ff215713 authored by Steve French's avatar Steve French

[CIFS] checkpatch cleanup

Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
parent abab095d
...@@ -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;
......
...@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment