1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

Removed an unused #include in the `#ifdef KERNEL' case.

Fixed a comment to match the code.  The code is still wrong
(ffs_checkoverlap() should be staticized and called from a
ddb command).
This commit is contained in:
Bruce Evans 1997-11-18 15:10:38 +00:00
parent 80b301c385
commit c5697b1f22
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=31274

View File

@ -31,14 +31,14 @@
* SUCH DAMAGE.
*
* @(#)ffs_subr.c 8.5 (Berkeley) 3/21/95
* $Id: ffs_subr.c,v 1.12 1997/03/09 06:00:42 mpp Exp $
* $Id: ffs_subr.c,v 1.13 1997/10/16 10:49:30 phk Exp $
*/
#include <sys/param.h>
#include <ufs/ffs/fs.h>
#ifndef KERNEL
#include <ufs/ufs/dinode.h>
#include <ufs/ffs/fs.h>
#else
#include "opt_ddb.h"
@ -47,8 +47,6 @@
#include <sys/buf.h>
#include <ufs/ufs/quota.h>
#include <ufs/ufs/inode.h>
#include <ufs/ufs/dinode.h>
#include <ufs/ffs/fs.h>
#include <ufs/ffs/ffs_extern.h>
/*
@ -155,7 +153,7 @@ ffs_checkoverlap(bp, ip)
panic("ffs_checkoverlap: Disk buffer overlap");
}
}
#endif /* DIAGNOSTIC */
#endif /* KERNEL && DIAGNOSTIC && DDB */
/*
* block operations