diff options
author | Jeff Layton <jlayton@redhat.com> | 2012-07-06 07:09:42 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-01 12:26:53 -0700 |
commit | adccea444c2df5660fff32fe75563075b7d237f7 (patch) | |
tree | e366b4a97f1d3701f45cb8ad20612d4ca6f3dd6f /lib/debugobjects.c | |
parent | ce05b1d31e57b7de6b814073e88bdd403ce71229 (diff) | |
download | kernel_samsung_crespo-adccea444c2df5660fff32fe75563075b7d237f7.zip kernel_samsung_crespo-adccea444c2df5660fff32fe75563075b7d237f7.tar.gz kernel_samsung_crespo-adccea444c2df5660fff32fe75563075b7d237f7.tar.bz2 |
cifs: always update the inode cache with the results from a FIND_*
commit cd60042cc1392e79410dc8de9e9c1abb38a29e57 upstream.
When we get back a FIND_FIRST/NEXT result, we have some info about the
dentry that we use to instantiate a new inode. We were ignoring and
discarding that info when we had an existing dentry in the cache.
Fix this by updating the inode in place when we find an existing dentry
and the uniqueid is the same.
Reported-and-Tested-by: Andrew Bartlett <abartlet@samba.org>
Reported-by: Bill Robertson <bill_robertson@debortoli.com.au>
Reported-by: Dion Edwards <dion_edwards@debortoli.com.au>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions