Author: kib Date: Thu Jan 11 13:37:45 2018 New Revision: 327821 URL: https://svnweb.freebsd.org/changeset/base/327821
Log: Softlink inodes can own buffers with dependencies. At least, softlinks longer than 120 bytes have data fragments. Submitted by: mckusick MFC after: 5 days Modified: head/sys/ufs/ffs/ffs_softdep.c Modified: head/sys/ufs/ffs/ffs_softdep.c ============================================================================== --- head/sys/ufs/ffs/ffs_softdep.c Thu Jan 11 13:22:13 2018 (r327820) +++ head/sys/ufs/ffs/ffs_softdep.c Thu Jan 11 13:37:45 2018 (r327821) @@ -13922,7 +13922,8 @@ retry: 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); _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"