cache: update an assert on CACHE_FPL_STATUS_ABORTED
Since symlink support it can get upgraded to CACHE_FPL_STATUS_DESTROYED. Reported by: bdrewery
This commit is contained in:
parent
11f47f17e1
commit
13b3862ee8
@ -4660,7 +4660,8 @@ cache_fplookup_final_withparent(struct cache_fpl *fpl)
|
||||
|
||||
error = cache_fplookup_final_child(fpl, tvs);
|
||||
if (__predict_false(error != 0)) {
|
||||
MPASS(fpl->status == CACHE_FPL_STATUS_ABORTED);
|
||||
MPASS(fpl->status == CACHE_FPL_STATUS_ABORTED ||
|
||||
fpl->status == CACHE_FPL_STATUS_DESTROYED);
|
||||
if ((cnp->cn_flags & LOCKPARENT) != 0)
|
||||
vput(dvp);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user