mirror of
https://git.openafs.org/openafs.git
synced 2025-01-20 07:51:00 +00:00
remove-vnop-denies-unlink-on-mtpt-20040325
FIXES 3724 if mvstat is 1, we're a mountpoint; simply short circuit EISDIR and return
This commit is contained in:
parent
75f081a027
commit
df744ad374
@ -279,6 +279,15 @@ OSI_VC_DECL(adp);
|
||||
#endif
|
||||
return code;
|
||||
}
|
||||
|
||||
if (adp->mvstat == 1) {
|
||||
#ifdef AFS_OSF_ENV
|
||||
afs_PutVCache(adp);
|
||||
afs_PutVCache(tvc);
|
||||
#endif
|
||||
return EISDIR;
|
||||
}
|
||||
|
||||
if (strlen(aname) > AFSNAMEMAX) {
|
||||
afs_PutFakeStat(&fakestate);
|
||||
#ifdef AFS_OSF_ENV
|
||||
|
Loading…
Reference in New Issue
Block a user