]> err.no Git - linux-2.6/commitdiff
[CIFS] Minor cleanup
authorSteve French <sfrench@us.ibm.com>
Tue, 6 Feb 2007 20:43:30 +0000 (20:43 +0000)
committerSteve French <sfrench@us.ibm.com>
Tue, 6 Feb 2007 20:43:30 +0000 (20:43 +0000)
Missing tab.  Missing entry in changelog

Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/CHANGES
fs/cifs/readdir.c

index d04d2f7448d9e4a872a0d548a54c47c411e6df2f..85e3850bf2c92a29e212bc7c6b576a5a04eb27c5 100644 (file)
@@ -1,6 +1,8 @@
 Version 1.47
 ------------
 Fix oops in list_del during mount caused by unaligned string.
+Seek to SEEK_END forces check for update of file size for non-cached
+files.
 
 Version 1.46
 ------------
index 99dfb5337e3169d8e38cf062a509326694b24a0d..782940be550f48b59077e944d5306df27c33036b 100644 (file)
@@ -156,9 +156,9 @@ static void fill_in_inode(struct inode *tmp_inode, int new_buf_type,
                tmp_inode->i_atime = cnvrtDosUnixTm(
                                le16_to_cpu(pfindData->LastAccessDate),
                                le16_to_cpu(pfindData->LastAccessTime));
-                tmp_inode->i_ctime = cnvrtDosUnixTm(
-                                le16_to_cpu(pfindData->LastWriteDate),
-                                le16_to_cpu(pfindData->LastWriteTime));
+               tmp_inode->i_ctime = cnvrtDosUnixTm(
+                               le16_to_cpu(pfindData->LastWriteDate),
+                               le16_to_cpu(pfindData->LastWriteTime));
                AdjustForTZ(cifs_sb->tcon, tmp_inode);
                attr = le16_to_cpu(pfindData->Attributes);
                allocation_size = le32_to_cpu(pfindData->AllocationSize);