mirror of
https://git.openafs.org/openafs.git
synced 2025-01-21 08:20:16 +00:00
linux-dentry-revalidate-make-sysname-lists-work-20030924
pass the unmangled name into afs_lookup in dentry_revalidate if dnlc lookup fails.
This commit is contained in:
parent
a4d467351a
commit
42d23ccf9a
@ -926,8 +926,11 @@ afs_linux_dentry_revalidate(struct dentry *dp)
|
|||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* A DNLC lookup failure cannot be trusted. Try a real lookup */
|
/* A DNLC lookup failure cannot be trusted. Try a real lookup.
|
||||||
code = afs_lookup(parentvcp, name, &lookupvcp, credp);
|
Make sure to try the real name and not the @sys expansion;
|
||||||
|
afs_lookup will expand @sys itself. */
|
||||||
|
|
||||||
|
code = afs_lookup(parentvcp, dp->d_name.name, &lookupvcp, credp);
|
||||||
|
|
||||||
/* Verify that the dentry does not point to an old inode */
|
/* Verify that the dentry does not point to an old inode */
|
||||||
if (vcp != lookupvcp)
|
if (vcp != lookupvcp)
|
||||||
|
Loading…
Reference in New Issue
Block a user