summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/gnu/ext2fs/ext2_subr.c8
-rw-r--r--sys/gnu/fs/ext2fs/ext2_subr.c8
2 files changed, 6 insertions, 10 deletions
diff --git a/sys/gnu/ext2fs/ext2_subr.c b/sys/gnu/ext2fs/ext2_subr.c
index 7e93321a8158..94db9346b7c0 100644
--- a/sys/gnu/ext2fs/ext2_subr.c
+++ b/sys/gnu/ext2fs/ext2_subr.c
@@ -51,9 +51,7 @@
#include <gnu/ext2fs/ext2_fs_sb.h>
#include <gnu/ext2fs/fs.h>
-#include "opt_ddb.h"
-
-#ifdef DDB
+#ifdef KDB
void ext2_checkoverlap(struct buf *, struct inode *);
#endif
@@ -91,7 +89,7 @@ ext2_blkatoff(vp, offset, res, bpp)
return (0);
}
-#ifdef DDB
+#ifdef KDB
void
ext2_checkoverlap(bp, ip)
struct buf *bp;
@@ -120,4 +118,4 @@ ext2_checkoverlap(bp, ip)
panic("Disk buffer overlap");
}
}
-#endif /* DDB */
+#endif /* KDB */
diff --git a/sys/gnu/fs/ext2fs/ext2_subr.c b/sys/gnu/fs/ext2fs/ext2_subr.c
index 7e93321a8158..94db9346b7c0 100644
--- a/sys/gnu/fs/ext2fs/ext2_subr.c
+++ b/sys/gnu/fs/ext2fs/ext2_subr.c
@@ -51,9 +51,7 @@
#include <gnu/ext2fs/ext2_fs_sb.h>
#include <gnu/ext2fs/fs.h>
-#include "opt_ddb.h"
-
-#ifdef DDB
+#ifdef KDB
void ext2_checkoverlap(struct buf *, struct inode *);
#endif
@@ -91,7 +89,7 @@ ext2_blkatoff(vp, offset, res, bpp)
return (0);
}
-#ifdef DDB
+#ifdef KDB
void
ext2_checkoverlap(bp, ip)
struct buf *bp;
@@ -120,4 +118,4 @@ ext2_checkoverlap(bp, ip)
panic("Disk buffer overlap");
}
}
-#endif /* DDB */
+#endif /* KDB */