svn commit: r284887 - in head/sys: kern sys ufs/ffs

Ed Schouten ed at nuxi.nl
Mon Jun 29 12:19:06 UTC 2015


Hi Kostik,

2015-06-27 11:44 GMT+02:00 Konstantin Belousov <kib at freebsd.org>:
> @@ -2056,6 +2072,8 @@ ffs_bufwrite(struct buf *bp)
>                 if (bp->b_vflags & BV_BKGRDINPROG)
>                         panic("bufwrite: still writing");
>         }
> +       if ((bp->b_vflags & BV_BKGRDERR) != 0)
> +               bp->b_vflags &= ~BV_BKGRDERR;
>         BO_UNLOCK(bp->b_bufobj);
>
>         /*

This if-statement could be removed, right? The bit could just be
cleared unconditionally.

Best regards,
-- 
Ed Schouten <ed at nuxi.nl>
Nuxi, 's-Hertogenbosch, the Netherlands
KvK/VAT number: 62051717


More information about the svn-src-all mailing list