diff options
author | Steve French <sfrench@us.ibm.com> | 2008-02-07 18:25:02 -0500 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2008-02-07 18:25:02 -0500 |
commit | ad7a2926b9e53cfb3020d15bdfacacc54e2b63da (patch) | |
tree | f4cf20d2bc3a13841ed81a8de25bd870a3b622e6 /fs/cifs/inode.c | |
parent | f315ccb3e679f271583f2a4f463ad9b65665b751 (diff) |
[CIFS] reduce checkpatch warnings
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/inode.c')
-rw-r--r-- | fs/cifs/inode.c | 7 |
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; |