cifs: use CreationTime like an i_generation field
authorJeff Layton <jlayton@redhat.com>
Fri, 7 Jan 2011 16:30:27 +0000 (11:30 -0500)
committerSteve French <sfrench@us.ibm.com>
Sun, 9 Jan 2011 23:43:00 +0000 (23:43 +0000)
commit20054bd65703f7504a9daceabc2a060828fde36c
treea15151a2d3a1d8abe1c72701ceb3e9f7051fe6ea
parentd44a9fe2c8af3fee8edb203e9b11e507851c50fa
cifs: use CreationTime like an i_generation field

Reduce false inode collisions by using the CreationTime like an
i_generation field. This way, even if the server ends up reusing
a uniqueid after a delete/create cycle, we can avoid matching
the inode incorrectly.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsfs.c
fs/cifs/cifsglob.h
fs/cifs/inode.c
fs/cifs/readdir.c