]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[CIFS] One line missing from previous commit
authorSteve French <sfrench@us.ibm.com>
Sat, 17 Feb 2007 04:34:13 +0000 (04:34 +0000)
committerSteve French <sfrench@us.ibm.com>
Sat, 17 Feb 2007 04:34:13 +0000 (04:34 +0000)
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsfs.c
fs/cifs/file.c

index 887c89b43bd8a917c81e4f5e2e833f4b2abce044..bc2c0ac2716987e4698ee213ac74f901e29c77f5 100644 (file)
@@ -287,6 +287,7 @@ cifs_show_options(struct seq_file *s, struct vfsmount *m)
 
        if (cifs_sb) {
                if (cifs_sb->tcon) {
+/* BB add prepath to mount options displayed */
                        seq_printf(s, ",unc=%s", cifs_sb->tcon->treeName);
                        if (cifs_sb->tcon->ses) {
                                if (cifs_sb->tcon->ses->userName)
index 07ff9351e9ee71d5586f47827f92f1f9c1f7b4ff..a1265c9bfec0cb250196dd9acc60bb9a8de76a31 100644 (file)
@@ -1014,8 +1014,9 @@ static ssize_t cifs_write(struct file *file, const char *write_data,
        /* since the write may have blocked check these pointers again */
        if (file->f_path.dentry) {
                if (file->f_path.dentry->d_inode) {
-                       file->f_path.dentry->d_inode->i_ctime =
-                       file->f_path.dentry->d_inode->i_mtime = CURRENT_TIME;
+/*BB We could make this contingent on superblock ATIME flag too */
+/*                     file->f_path.dentry->d_inode->i_ctime =
+                       file->f_path.dentry->d_inode->i_mtime = CURRENT_TIME;*/
                        if (total_written > 0) {
                                if (*poffset > file->f_path.dentry->d_inode->i_size)
                                        i_size_write(file->f_path.dentry->d_inode,