summaryrefslogtreecommitdiffstats
path: root/fs/cifs
diff options
context:
space:
mode:
authorSteve French <smfrench@gmail.com>2014-10-17 17:17:12 -0500
committerSteve French <smfrench@gmail.com>2014-10-17 17:17:12 -0500
commitff273cb879fbc6cd3c5d03a56cfc33f5830e2837 (patch)
treec8fd52e733bb261f9aa51d8d23f9a905c2b44166 /fs/cifs
parent9ffc5412964d5b276227684124efb702ec387c19 (diff)
downloadlinux-ff273cb879fbc6cd3c5d03a56cfc33f5830e2837.tar.bz2
[CIFS] Remove obsolete comment
Signed-off-by: Steven French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs')
-rw-r--r--fs/cifs/link.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/fs/cifs/link.c b/fs/cifs/link.c
index 190bf0eb71b0..2ec6037f61c7 100644
--- a/fs/cifs/link.c
+++ b/fs/cifs/link.c
@@ -592,11 +592,7 @@ cifs_hardlink(struct dentry *old_file, struct inode *inode,
spin_lock(&old_file->d_inode->i_lock);
inc_nlink(old_file->d_inode);
spin_unlock(&old_file->d_inode->i_lock);
- /*
- * BB should we make this contingent on superblock flag
- * NOATIME?
- */
- /* old_file->d_inode->i_ctime = CURRENT_TIME; */
+
/*
* parent dir timestamps will update from srv within a
* second, would it really be worth it to set the parent
@@ -606,7 +602,9 @@ cifs_hardlink(struct dentry *old_file, struct inode *inode,
}
/*
* if not oplocked will force revalidate to get info on source
- * file from srv
+ * file from srv. Note Samba server prior to 4.2 has bug -
+ * not updating src file ctime on hardlinks but Windows servers
+ * handle it properly
*/
cifsInode->time = 0;