summaryrefslogtreecommitdiffstats
path: root/sys/fs/ext2fs/ext2_subr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/ext2fs/ext2_subr.c')
-rw-r--r--sys/fs/ext2fs/ext2_subr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/fs/ext2fs/ext2_subr.c b/sys/fs/ext2fs/ext2_subr.c
index dcb1b7c..70ade83 100644
--- a/sys/fs/ext2fs/ext2_subr.c
+++ b/sys/fs/ext2fs/ext2_subr.c
@@ -52,6 +52,8 @@
#include <fs/ext2fs/fs.h>
#ifdef KDB
+#include <fs/ext2fs/ext2_mount.h>
+
void ext2_checkoverlap(struct buf *, struct inode *);
#endif
@@ -105,7 +107,7 @@ ext2_checkoverlap(bp, ip)
for (ep = buf; ep < ebp; ep++) {
if (ep == bp || (ep->b_flags & B_INVAL))
continue;
- vp = ip->i_devvp;
+ vp = ip->i_ump->um_devvp;
/* look for overlap */
if (ep->b_bcount == 0 || ep->b_blkno > last ||
ep->b_blkno + btodb(ep->b_bcount) <= start)
OpenPOWER on IntegriCloud