From 7ef47eec4cc91a0eee21ef882b147a28d2121d1c Mon Sep 17 00:00:00 2001 From: Robert Watson Date: Sat, 15 Apr 2000 17:14:22 +0000 Subject: [PATCH] ext2fs relies on UFS support code, and as a result also requires extattr.h to be included. This fixes the broken ext2fs build as of the import of extattr code. Also added $FreeBSD: $ to a couple of files that didn't have them, without which I couldn't commit this fix. Reported by: "George W. Dinolt" --- sys/gnu/ext2fs/ext2_alloc.c | 2 ++ sys/gnu/ext2fs/ext2_inode.c | 1 + sys/gnu/ext2fs/ext2_linux_balloc.c | 3 +++ sys/gnu/ext2fs/ext2_linux_ialloc.c | 3 +++ sys/gnu/ext2fs/ext2_lookup.c | 1 + sys/gnu/ext2fs/ext2_vfsops.c | 1 + sys/gnu/ext2fs/ext2_vnops.c | 1 + sys/gnu/fs/ext2fs/ext2_alloc.c | 2 ++ sys/gnu/fs/ext2fs/ext2_inode.c | 1 + sys/gnu/fs/ext2fs/ext2_linux_balloc.c | 3 +++ sys/gnu/fs/ext2fs/ext2_linux_ialloc.c | 3 +++ sys/gnu/fs/ext2fs/ext2_lookup.c | 1 + sys/gnu/fs/ext2fs/ext2_vfsops.c | 1 + sys/gnu/fs/ext2fs/ext2_vnops.c | 1 + 14 files changed, 24 insertions(+) diff --git a/sys/gnu/ext2fs/ext2_alloc.c b/sys/gnu/ext2fs/ext2_alloc.c index bafcee51cf9..36fda1530d3 100644 --- a/sys/gnu/ext2fs/ext2_alloc.c +++ b/sys/gnu/ext2fs/ext2_alloc.c @@ -37,6 +37,7 @@ * SUCH DAMAGE. * * @(#)ext2_alloc.c 8.8 (Berkeley) 2/21/94 + * $FreeBSD$ */ #include "opt_quota.h" @@ -49,6 +50,7 @@ #include #include +#include #include #include #include diff --git a/sys/gnu/ext2fs/ext2_inode.c b/sys/gnu/ext2fs/ext2_inode.c index 22847f5e8e4..491858ddf6c 100644 --- a/sys/gnu/ext2fs/ext2_inode.c +++ b/sys/gnu/ext2fs/ext2_inode.c @@ -53,6 +53,7 @@ #include #include +#include #include #include #include diff --git a/sys/gnu/ext2fs/ext2_linux_balloc.c b/sys/gnu/ext2fs/ext2_linux_balloc.c index 5e90fee75d1..3e5b7d18ba2 100644 --- a/sys/gnu/ext2fs/ext2_linux_balloc.c +++ b/sys/gnu/ext2fs/ext2_linux_balloc.c @@ -3,6 +3,8 @@ * * Aug 1995, Godmar Back (gback@cs.utah.edu) * University of Utah, Department of Computer Science + * + * $FreeBSD$ */ /* * linux/fs/ext2/balloc.c @@ -33,6 +35,7 @@ #include #include +#include #include #include #include diff --git a/sys/gnu/ext2fs/ext2_linux_ialloc.c b/sys/gnu/ext2fs/ext2_linux_ialloc.c index fc783914fef..0419ef6f6a7 100644 --- a/sys/gnu/ext2fs/ext2_linux_ialloc.c +++ b/sys/gnu/ext2fs/ext2_linux_ialloc.c @@ -3,6 +3,8 @@ * * Aug 1995, Godmar Back (gback@cs.utah.edu) * University of Utah, Department of Computer Science + * + * $FreeBSD$ */ /* * linux/fs/ext2/ialloc.c @@ -34,6 +36,7 @@ #include #include +#include #include #include #include diff --git a/sys/gnu/ext2fs/ext2_lookup.c b/sys/gnu/ext2fs/ext2_lookup.c index 71c081f4662..a13b5e05909 100644 --- a/sys/gnu/ext2fs/ext2_lookup.c +++ b/sys/gnu/ext2fs/ext2_lookup.c @@ -57,6 +57,7 @@ #include #include +#include #include #include #include diff --git a/sys/gnu/ext2fs/ext2_vfsops.c b/sys/gnu/ext2fs/ext2_vfsops.c index a56a443de57..111fb357464 100644 --- a/sys/gnu/ext2fs/ext2_vfsops.c +++ b/sys/gnu/ext2fs/ext2_vfsops.c @@ -56,6 +56,7 @@ #include #include +#include #include #include #include diff --git a/sys/gnu/ext2fs/ext2_vnops.c b/sys/gnu/ext2fs/ext2_vnops.c index 0e57f30af44..d1777801823 100644 --- a/sys/gnu/ext2fs/ext2_vnops.c +++ b/sys/gnu/ext2fs/ext2_vnops.c @@ -68,6 +68,7 @@ #include #include +#include #include #include #include diff --git a/sys/gnu/fs/ext2fs/ext2_alloc.c b/sys/gnu/fs/ext2fs/ext2_alloc.c index bafcee51cf9..36fda1530d3 100644 --- a/sys/gnu/fs/ext2fs/ext2_alloc.c +++ b/sys/gnu/fs/ext2fs/ext2_alloc.c @@ -37,6 +37,7 @@ * SUCH DAMAGE. * * @(#)ext2_alloc.c 8.8 (Berkeley) 2/21/94 + * $FreeBSD$ */ #include "opt_quota.h" @@ -49,6 +50,7 @@ #include #include +#include #include #include #include diff --git a/sys/gnu/fs/ext2fs/ext2_inode.c b/sys/gnu/fs/ext2fs/ext2_inode.c index 22847f5e8e4..491858ddf6c 100644 --- a/sys/gnu/fs/ext2fs/ext2_inode.c +++ b/sys/gnu/fs/ext2fs/ext2_inode.c @@ -53,6 +53,7 @@ #include #include +#include #include #include #include diff --git a/sys/gnu/fs/ext2fs/ext2_linux_balloc.c b/sys/gnu/fs/ext2fs/ext2_linux_balloc.c index 5e90fee75d1..3e5b7d18ba2 100644 --- a/sys/gnu/fs/ext2fs/ext2_linux_balloc.c +++ b/sys/gnu/fs/ext2fs/ext2_linux_balloc.c @@ -3,6 +3,8 @@ * * Aug 1995, Godmar Back (gback@cs.utah.edu) * University of Utah, Department of Computer Science + * + * $FreeBSD$ */ /* * linux/fs/ext2/balloc.c @@ -33,6 +35,7 @@ #include #include +#include #include #include #include diff --git a/sys/gnu/fs/ext2fs/ext2_linux_ialloc.c b/sys/gnu/fs/ext2fs/ext2_linux_ialloc.c index fc783914fef..0419ef6f6a7 100644 --- a/sys/gnu/fs/ext2fs/ext2_linux_ialloc.c +++ b/sys/gnu/fs/ext2fs/ext2_linux_ialloc.c @@ -3,6 +3,8 @@ * * Aug 1995, Godmar Back (gback@cs.utah.edu) * University of Utah, Department of Computer Science + * + * $FreeBSD$ */ /* * linux/fs/ext2/ialloc.c @@ -34,6 +36,7 @@ #include #include +#include #include #include #include diff --git a/sys/gnu/fs/ext2fs/ext2_lookup.c b/sys/gnu/fs/ext2fs/ext2_lookup.c index 71c081f4662..a13b5e05909 100644 --- a/sys/gnu/fs/ext2fs/ext2_lookup.c +++ b/sys/gnu/fs/ext2fs/ext2_lookup.c @@ -57,6 +57,7 @@ #include #include +#include #include #include #include diff --git a/sys/gnu/fs/ext2fs/ext2_vfsops.c b/sys/gnu/fs/ext2fs/ext2_vfsops.c index a56a443de57..111fb357464 100644 --- a/sys/gnu/fs/ext2fs/ext2_vfsops.c +++ b/sys/gnu/fs/ext2fs/ext2_vfsops.c @@ -56,6 +56,7 @@ #include #include +#include #include #include #include diff --git a/sys/gnu/fs/ext2fs/ext2_vnops.c b/sys/gnu/fs/ext2fs/ext2_vnops.c index 0e57f30af44..d1777801823 100644 --- a/sys/gnu/fs/ext2fs/ext2_vnops.c +++ b/sys/gnu/fs/ext2fs/ext2_vnops.c @@ -68,6 +68,7 @@ #include #include +#include #include #include #include