summaryrefslogtreecommitdiffstats
path: root/fs/cifs
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2010-03-09 20:30:42 +0000
committerSteve French <sfrench@us.ibm.com>2010-03-09 20:30:42 +0000
commitff215713eb33c56301cf6bfec0143ddc7f22c138 (patch)
tree6b155e7d1b36b79d72f2cc67225744953e122117 /fs/cifs
parentabab095d1fd25986b910d3c46289d8fa3582cdc5 (diff)
downloadlinux-ff215713eb33c56301cf6bfec0143ddc7f22c138.tar.gz
linux-ff215713eb33c56301cf6bfec0143ddc7f22c138.tar.bz2
linux-ff215713eb33c56301cf6bfec0143ddc7f22c138.zip
[CIFS] checkpatch cleanup
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs')
-rw-r--r--fs/cifs/file.c4
-rw-r--r--fs/cifs/inode.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/fs/cifs/file.c b/fs/cifs/file.c
index 1389f6ecef9e..ca2ba7a0193c 100644
--- a/fs/cifs/file.c
+++ b/fs/cifs/file.c
@@ -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;
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c
index 0d034a84bb8d..723daaccbd0e 100644
--- a/fs/cifs/inode.c
+++ b/fs/cifs/inode.c
@@ -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;