summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-05-05 20:04:33 +0000
committerphk <phk@FreeBSD.org>2002-05-05 20:04:33 +0000
commitf075f5e39a8173de8899f4f6c4ba7a2529686a96 (patch)
tree6b9f61bbb5c736864bf95d3615fec596b98b0bdc /sys
parent285791a69638a8c6cc6a9aa0bb65cf3441e78928 (diff)
downloadFreeBSD-src-f075f5e39a8173de8899f4f6c4ba7a2529686a96.zip
FreeBSD-src-f075f5e39a8173de8899f4f6c4ba7a2529686a96.tar.gz
Move some UFS related stuff home where it belongs.
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/buf.h6
-rw-r--r--sys/ufs/ufs/ufs_extern.h8
2 files changed, 7 insertions, 7 deletions
diff --git a/sys/sys/buf.h b/sys/sys/buf.h
index cbce331..0369060 100644
--- a/sys/sys/buf.h
+++ b/sys/sys/buf.h
@@ -440,12 +440,6 @@ buf_countdeps(struct buf *bp, int i)
(bp)->b_resid = 0; \
}
-/* Flags to low-level allocation routines. */
-#define B_CLRBUF 0x01 /* Request allocated buffer be cleared. */
-#define B_SYNC 0x02 /* Do all allocations synchronously. */
-#define B_METAONLY 0x04 /* Return indirect block buffer. */
-#define B_NOWAIT 0x08 /* do not sleep to await lock */
-
#ifdef _KERNEL
extern int nbuf; /* The number of buffer headers */
extern int maxswzone; /* Max KVA for swap structures */
diff --git a/sys/ufs/ufs/ufs_extern.h b/sys/ufs/ufs/ufs_extern.h
index 58d5b22..754c4ea 100644
--- a/sys/ufs/ufs/ufs_extern.h
+++ b/sys/ufs/ufs/ufs_extern.h
@@ -61,7 +61,7 @@ int ufs_vnoperatespec(struct vop_generic_args *);
int ufs_bmap(struct vop_bmap_args *);
int ufs_bmaparray(struct vnode *, daddr_t, daddr_t *, int *, int *);
-int ufs_fhtovp(register struct mount *, struct ufid *, struct vnode **);
+int ufs_fhtovp(struct mount *, struct ufid *, struct vnode **);
int ufs_checkpath(struct inode *, struct inode *, struct ucred *);
void ufs_dirbad(struct inode *, doff_t, char *);
int ufs_dirbadentry(struct vnode *, struct direct *, int);
@@ -104,4 +104,10 @@ void softdep_change_linkcnt(struct inode *);
void softdep_releasefile(struct inode *);
int softdep_slowdown(struct vnode *);
+/* Flags to low-level allocation routines. */
+#define B_CLRBUF 0x01 /* Request allocated buffer be cleared. */
+#define B_SYNC 0x02 /* Do all allocations synchronously. */
+#define B_METAONLY 0x04 /* Return indirect block buffer. */
+#define B_NOWAIT 0x08 /* do not sleep to await lock */
+
#endif /* !_UFS_UFS_EXTERN_H_ */
OpenPOWER on IntegriCloud