diff options
author | Steve French <sfrench@us.ibm.com> | 2006-05-31 14:05:34 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2006-05-31 14:05:34 -0400 |
commit | 26a21b980b1897b11fd7f9ba4bf6060c9e15df10 (patch) | |
tree | c56627f5ced7e016a4a9ec388a479270226cce27 /fs/cifs/inode.c | |
parent | e6ed89ac9f5da16fea5111651b6de0ff0a76a5c2 (diff) |
[CIFS] Cleanup extra whitespace in dmesg logging. Update cifs change log
Diffstat (limited to 'fs/cifs/inode.c')
-rw-r--r-- | fs/cifs/inode.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c index 4093764ef461..77a9e2f912fd 100644 --- a/fs/cifs/inode.c +++ b/fs/cifs/inode.c | |||
@@ -41,7 +41,7 @@ int cifs_get_inode_info_unix(struct inode **pinode, | |||
41 | char *tmp_path; | 41 | char *tmp_path; |
42 | 42 | ||
43 | pTcon = cifs_sb->tcon; | 43 | pTcon = cifs_sb->tcon; |
44 | cFYI(1, ("Getting info on %s ", search_path)); | 44 | cFYI(1, ("Getting info on %s", search_path)); |
45 | /* could have done a find first instead but this returns more info */ | 45 | /* could have done a find first instead but this returns more info */ |
46 | rc = CIFSSMBUnixQPathInfo(xid, pTcon, search_path, &findData, | 46 | rc = CIFSSMBUnixQPathInfo(xid, pTcon, search_path, &findData, |
47 | cifs_sb->local_nls, cifs_sb->mnt_cifs_flags & | 47 | cifs_sb->local_nls, cifs_sb->mnt_cifs_flags & |
@@ -97,9 +97,9 @@ int cifs_get_inode_info_unix(struct inode **pinode, | |||
97 | inode = *pinode; | 97 | inode = *pinode; |
98 | cifsInfo = CIFS_I(inode); | 98 | cifsInfo = CIFS_I(inode); |
99 | 99 | ||
100 | cFYI(1, ("Old time %ld ", cifsInfo->time)); | 100 | cFYI(1, ("Old time %ld", cifsInfo->time)); |
101 | cifsInfo->time = jiffies; | 101 | cifsInfo->time = jiffies; |
102 | cFYI(1, ("New time %ld ", cifsInfo->time)); | 102 | cFYI(1, ("New time %ld", cifsInfo->time)); |
103 | /* this is ok to set on every inode revalidate */ | 103 | /* this is ok to set on every inode revalidate */ |
104 | atomic_set(&cifsInfo->inUse,1); | 104 | atomic_set(&cifsInfo->inUse,1); |
105 | 105 | ||
@@ -421,23 +421,23 @@ int cifs_get_inode_info(struct inode **pinode, | |||
421 | inode = *pinode; | 421 | inode = *pinode; |
422 | cifsInfo = CIFS_I(inode); | 422 | cifsInfo = CIFS_I(inode); |
423 | cifsInfo->cifsAttrs = attr; | 423 | cifsInfo->cifsAttrs = attr; |
424 | cFYI(1, ("Old time %ld ", cifsInfo->time)); | 424 | cFYI(1, ("Old time %ld", cifsInfo->time)); |
425 | cifsInfo->time = jiffies; | 425 | cifsInfo->time = jiffies; |
426 | cFYI(1, ("New time %ld ", cifsInfo->time)); | 426 | cFYI(1, ("New time %ld", cifsInfo->time)); |
427 | 427 | ||
428 | /* blksize needs to be multiple of two. So safer to default to | 428 | /* blksize needs to be multiple of two. So safer to default to |
429 | blksize and blkbits set in superblock so 2**blkbits and blksize | 429 | blksize and blkbits set in superblock so 2**blkbits and blksize |
430 | will match rather than setting to: | 430 | will match rather than setting to: |
431 | (pTcon->ses->server->maxBuf - MAX_CIFS_HDR_SIZE) & 0xFFFFFE00;*/ | 431 | (pTcon->ses->server->maxBuf - MAX_CIFS_HDR_SIZE) & 0xFFFFFE00;*/ |
432 | 432 | ||
433 | /* Linux can not store file creation time unfortunately so we ignore it */ | 433 | /* Linux can not store file creation time so ignore it */ |
434 | inode->i_atime = | 434 | inode->i_atime = |
435 | cifs_NTtimeToUnix(le64_to_cpu(pfindData->LastAccessTime)); | 435 | cifs_NTtimeToUnix(le64_to_cpu(pfindData->LastAccessTime)); |
436 | inode->i_mtime = | 436 | inode->i_mtime = |
437 | cifs_NTtimeToUnix(le64_to_cpu(pfindData->LastWriteTime)); | 437 | cifs_NTtimeToUnix(le64_to_cpu(pfindData->LastWriteTime)); |
438 | inode->i_ctime = | 438 | inode->i_ctime = |
439 | cifs_NTtimeToUnix(le64_to_cpu(pfindData->ChangeTime)); | 439 | cifs_NTtimeToUnix(le64_to_cpu(pfindData->ChangeTime)); |
440 | cFYI(0, ("Attributes came in as 0x%x ", attr)); | 440 | cFYI(0, ("Attributes came in as 0x%x", attr)); |
441 | 441 | ||
442 | /* set default mode. will override for dirs below */ | 442 | /* set default mode. will override for dirs below */ |
443 | if (atomic_read(&cifsInfo->inUse) == 0) | 443 | if (atomic_read(&cifsInfo->inUse) == 0) |
@@ -731,7 +731,7 @@ int cifs_mkdir(struct inode *inode, struct dentry *direntry, int mode) | |||
731 | rc = CIFSSMBMkDir(xid, pTcon, full_path, cifs_sb->local_nls, | 731 | rc = CIFSSMBMkDir(xid, pTcon, full_path, cifs_sb->local_nls, |
732 | cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MAP_SPECIAL_CHR); | 732 | cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MAP_SPECIAL_CHR); |
733 | if (rc) { | 733 | if (rc) { |
734 | cFYI(1, ("cifs_mkdir returned 0x%x ", rc)); | 734 | cFYI(1, ("cifs_mkdir returned 0x%x", rc)); |
735 | d_drop(direntry); | 735 | d_drop(direntry); |
736 | } else { | 736 | } else { |
737 | inode->i_nlink++; | 737 | inode->i_nlink++; |
@@ -798,7 +798,7 @@ int cifs_rmdir(struct inode *inode, struct dentry *direntry) | |||
798 | char *full_path = NULL; | 798 | char *full_path = NULL; |
799 | struct cifsInodeInfo *cifsInode; | 799 | struct cifsInodeInfo *cifsInode; |
800 | 800 | ||
801 | cFYI(1, ("cifs_rmdir, inode = 0x%p with ", inode)); | 801 | cFYI(1, ("cifs_rmdir, inode = 0x%p", inode)); |
802 | 802 | ||
803 | xid = GetXid(); | 803 | xid = GetXid(); |
804 | 804 | ||
@@ -1121,7 +1121,7 @@ int cifs_setattr(struct dentry *direntry, struct iattr *attrs) | |||
1121 | 1121 | ||
1122 | xid = GetXid(); | 1122 | xid = GetXid(); |
1123 | 1123 | ||
1124 | cFYI(1, ("In cifs_setattr, name = %s attrs->iavalid 0x%x ", | 1124 | cFYI(1, ("In cifs_setattr, name = %s attrs->iavalid 0x%x", |
1125 | direntry->d_name.name, attrs->ia_valid)); | 1125 | direntry->d_name.name, attrs->ia_valid)); |
1126 | 1126 | ||
1127 | cifs_sb = CIFS_SB(direntry->d_inode->i_sb); | 1127 | cifs_sb = CIFS_SB(direntry->d_inode->i_sb); |
@@ -1289,7 +1289,7 @@ int cifs_setattr(struct dentry *direntry, struct iattr *attrs) | |||
1289 | it may be useful to Windows - but we do | 1289 | it may be useful to Windows - but we do |
1290 | not want to set ctime unless some other | 1290 | not want to set ctime unless some other |
1291 | timestamp is changing */ | 1291 | timestamp is changing */ |
1292 | cFYI(1, ("CIFS - CTIME changed ")); | 1292 | cFYI(1, ("CIFS - CTIME changed")); |
1293 | time_buf.ChangeTime = | 1293 | time_buf.ChangeTime = |
1294 | cpu_to_le64(cifs_UnixTimeToNT(attrs->ia_ctime)); | 1294 | cpu_to_le64(cifs_UnixTimeToNT(attrs->ia_ctime)); |
1295 | } else | 1295 | } else |
@@ -1356,7 +1356,7 @@ cifs_setattr_exit: | |||
1356 | 1356 | ||
1357 | void cifs_delete_inode(struct inode *inode) | 1357 | void cifs_delete_inode(struct inode *inode) |
1358 | { | 1358 | { |
1359 | cFYI(1, ("In cifs_delete_inode, inode = 0x%p ", inode)); | 1359 | cFYI(1, ("In cifs_delete_inode, inode = 0x%p", inode)); |
1360 | /* may have to add back in if and when safe distributed caching of | 1360 | /* may have to add back in if and when safe distributed caching of |
1361 | directories added e.g. via FindNotify */ | 1361 | directories added e.g. via FindNotify */ |
1362 | } | 1362 | } |