summaryrefslogtreecommitdiff
path: root/sys/dev/ata/ata_raid.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ata/ata_raid.c')
-rw-r--r--sys/dev/ata/ata_raid.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ata/ata_raid.c b/sys/dev/ata/ata_raid.c
index d63f55e151e..a1795a4fc53 100644
--- a/sys/dev/ata/ata_raid.c
+++ b/sys/dev/ata/ata_raid.c
@@ -313,7 +313,9 @@ ata_raid_config_block_rw(struct vnode *vp, daddr_t blkno, void *tbuf,
bp->b_proc = curproc;
bp->b_data = tbuf;
SET(bp->b_cflags, BC_BUSY); /* mark buffer busy */
-
+#ifdef LOCKDOC_VFS
+ lockdoc_log_lock(P_WRITE, &(bp->b_cflags), __FILE__, __LINE__, __func__, "b_cflags", 0);
+#endif
VOP_STRATEGY(vp, bp);
error = biowait(bp);