aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cifs/inode.c')
-rw-r--r--fs/cifs/inode.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c
index 47f2621001e4..ec26c6aa6421 100644
--- a/fs/cifs/inode.c
+++ b/fs/cifs/inode.c
@@ -490,9 +490,9 @@ int cifs_get_inode_info(struct inode **pinode,
490 if (decode_sfu_inode(inode, 490 if (decode_sfu_inode(inode,
491 le64_to_cpu(pfindData->EndOfFile), 491 le64_to_cpu(pfindData->EndOfFile),
492 search_path, 492 search_path,
493 cifs_sb, xid)) { 493 cifs_sb, xid))
494 cFYI(1, ("Unrecognized sfu inode type")); 494 cFYI(1, ("Unrecognized sfu inode type"));
495 } 495
496 cFYI(1, ("sfu mode 0%o", inode->i_mode)); 496 cFYI(1, ("sfu mode 0%o", inode->i_mode));
497 } else { 497 } else {
498 inode->i_mode |= S_IFREG; 498 inode->i_mode |= S_IFREG;
@@ -1198,9 +1198,8 @@ int cifs_rename(struct inode *source_inode, struct dentry *source_direntry,
1198 } /* if we can not get memory just leave rc as EEXIST */ 1198 } /* if we can not get memory just leave rc as EEXIST */
1199 } 1199 }
1200 1200
1201 if (rc) { 1201 if (rc)
1202 cFYI(1, ("rename rc %d", rc)); 1202 cFYI(1, ("rename rc %d", rc));
1203 }
1204 1203
1205 if ((rc == -EIO) || (rc == -EEXIST)) { 1204 if ((rc == -EIO) || (rc == -EEXIST)) {
1206 int oplock = FALSE; 1205 int oplock = FALSE;