Softlink inodes can own buffers with dependencies.

At least, softlinks longer than 120 bytes have data fragments.

Submitted by:	mckusick
MFC after:	5 days
This commit is contained in:
Konstantin Belousov 2018-01-11 13:37:45 +00:00
parent 6da5c56ae5
commit 147b0c1a3e

View File

@ -13922,7 +13922,8 @@ softdep_bp_to_mp(bp)
VI_UNLOCK(vp);
if (mp == NULL)
goto retry;
} else if (vp->v_type == VREG || vp->v_type == VDIR) {
} else if (vp->v_type == VREG || vp->v_type == VDIR ||
vp->v_type == VLNK) {
mp = vp->v_mount;
} else {
return (NULL);