diff options
author | Jeff Layton <jlayton@redhat.com> | 2010-05-17 07:18:57 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2010-05-17 16:57:27 -0400 |
commit | 84f30c66c3689745abbd3b9ce39816caeb9bec3b (patch) | |
tree | 16b40caa4f940d7fe3f723b34f296873aced6db4 /fs/cifs/inode.c | |
parent | db19272edc93661835bf6ec9736cfd0754aa3c62 (diff) |
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>
Diffstat (limited to 'fs/cifs/inode.c')
-rw-r--r-- | fs/cifs/inode.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c index 8e05e8a0ff8b..b0ff2529cb96 100644 --- a/fs/cifs/inode.c +++ b/fs/cifs/inode.c | |||
@@ -137,7 +137,6 @@ cifs_fattr_to_inode(struct inode *inode, struct cifs_fattr *fattr) | |||
137 | inode->i_mode = fattr->cf_mode; | 137 | inode->i_mode = fattr->cf_mode; |
138 | 138 | ||
139 | cifs_i->cifsAttrs = fattr->cf_cifsattrs; | 139 | cifs_i->cifsAttrs = fattr->cf_cifsattrs; |
140 | cifs_i->uniqueid = fattr->cf_uniqueid; | ||
141 | 140 | ||
142 | if (fattr->cf_flags & CIFS_FATTR_NEED_REVAL) | 141 | if (fattr->cf_flags & CIFS_FATTR_NEED_REVAL) |
143 | cifs_i->time = 0; | 142 | cifs_i->time = 0; |