mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-03 09:00:21 +00:00
Update for the KDB framework:
o Make debugging code conditional upon KDB instead of DDB.
This commit is contained in:
parent
e2fb7a7be0
commit
6d408d58d0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=131925
@ -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 */
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user