[CIFS] checkpatch cleanup
Signed-off-by: Steve French <sfrench@us.ibm.com>
This commit is contained in:
Родитель
abab095d1f
Коммит
ff215713eb
|
@ -219,8 +219,8 @@ static inline int cifs_open_inode_helper(struct inode *inode, struct file *file,
|
|||
cFYI(1, ("inode unchanged on server"));
|
||||
} else {
|
||||
if (file->f_path.dentry->d_inode->i_mapping) {
|
||||
/* BB no need to lock inode until after invalidate
|
||||
since namei code should already have it locked? */
|
||||
/* BB no need to lock inode until after invalidate
|
||||
since namei code should already have it locked? */
|
||||
rc = filemap_write_and_wait(file->f_path.dentry->d_inode->i_mapping);
|
||||
if (rc != 0)
|
||||
CIFS_I(file->f_path.dentry->d_inode)->write_behind_rc = rc;
|
||||
|
|
|
@ -510,9 +510,9 @@ int cifs_get_file_info(struct file *filp)
|
|||
if (rc == -EOPNOTSUPP || rc == -EINVAL) {
|
||||
/*
|
||||
* FIXME: legacy server -- fall back to path-based call?
|
||||
* for now, just skip revalidating and mark inode for
|
||||
* immediate reval.
|
||||
*/
|
||||
* for now, just skip revalidating and mark inode for
|
||||
* immediate reval.
|
||||
*/
|
||||
rc = 0;
|
||||
CIFS_I(inode)->time = 0;
|
||||
goto cgfi_exit;
|
||||
|
|
Загрузка…
Ссылка в новой задаче