]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: don't update uniqueid in cifs_fattr_to_inode
authorJeff Layton <jlayton@redhat.com>
Mon, 17 May 2010 11:18:57 +0000 (07:18 -0400)
committerSteve French <sfrench@us.ibm.com>
Mon, 17 May 2010 20:57:27 +0000 (20:57 +0000)
commit66ab81f8f9918f1d19aed1a2d58c99322ead4e9d
tree16b40caa4f940d7fe3f723b34f296873aced6db4
parente6679bab1742a31a165121e561be137534d981ec
cifs: don't update uniqueid in cifs_fattr_to_inode

We use this value to find an inode within the hash bucket, so we can't
change this without re-hashing the inode. For now, treat this value
as immutable.

Eventually, we should probably use an inode number change on a path
based operation to indicate that the lookup cache is invalid, but that's
a bit more code to deal with.

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