Skip to content
Commit cd60042c authored by Jeff Layton's avatar Jeff Layton Committed by Steve French
Browse files

cifs: always update the inode cache with the results from a FIND_*



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.

Cc: <stable@vger.kernel.org> # .31.x
Reported-and-Tested-by: default avatarAndrew Bartlett <abartlet@samba.org>
Reported-by: default avatarBill Robertson <bill_robertson@debortoli.com.au>
Reported-by: default avatarDion Edwards <dion_edwards@debortoli.com.au>
Signed-off-by: default avatarJeff Layton <jlayton@redhat.com>
Signed-off-by: default avatarSteve French <smfrench@gmail.com>
parent 3cf003c0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment