diff --git a/sys/fs/specfs/spec_vnops.c b/sys/fs/specfs/spec_vnops.c index 6b33df4777f9..3b9536ddadf2 100644 --- a/sys/fs/specfs/spec_vnops.c +++ b/sys/fs/specfs/spec_vnops.c @@ -497,6 +497,7 @@ spec_freeblks(ap) bp->b_blkno = ap->a_addr; bp->b_offset = dbtob(ap->a_addr); bp->b_bcount = ap->a_length; + BUF_KERNPROC(bp); DEV_STRATEGY(bp, 0); return (0); } diff --git a/sys/miscfs/specfs/spec_vnops.c b/sys/miscfs/specfs/spec_vnops.c index 6b33df4777f9..3b9536ddadf2 100644 --- a/sys/miscfs/specfs/spec_vnops.c +++ b/sys/miscfs/specfs/spec_vnops.c @@ -497,6 +497,7 @@ spec_freeblks(ap) bp->b_blkno = ap->a_addr; bp->b_offset = dbtob(ap->a_addr); bp->b_bcount = ap->a_length; + BUF_KERNPROC(bp); DEV_STRATEGY(bp, 0); return (0); }