summaryrefslogtreecommitdiffstats
path: root/sys/gnu
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2002-05-13 12:39:46 +0000
committerbde <bde@FreeBSD.org>2002-05-13 12:39:46 +0000
commita022f055dc5b346dac3ee64c252eb2f19043e349 (patch)
treef7805dcaa1da9484c3e1bb3d23e2d8877db6f109 /sys/gnu
parentc47610e655372285d78a54e3e71522082f285f5b (diff)
downloadFreeBSD-src-a022f055dc5b346dac3ee64c252eb2f19043e349.zip
FreeBSD-src-a022f055dc5b346dac3ee64c252eb2f19043e349.tar.gz
Fixed syntax errors (garbage after #endif; just editing errors in this
case). These errors and related style bugs swere cloned from ufs shortly after they were committed to ufs. They were mostly fixed in ufs long ago.
Diffstat (limited to 'sys/gnu')
-rw-r--r--sys/gnu/ext2fs/ext2_vnops.c8
-rw-r--r--sys/gnu/fs/ext2fs/ext2_vnops.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/sys/gnu/ext2fs/ext2_vnops.c b/sys/gnu/ext2fs/ext2_vnops.c
index 75d2da3..180ac3d 100644
--- a/sys/gnu/ext2fs/ext2_vnops.c
+++ b/sys/gnu/ext2fs/ext2_vnops.c
@@ -831,7 +831,7 @@ ext2_mkdir(ap)
#ifdef QUOTA
struct ucred ucred, *ucp;
ucp = cnp->cn_cred;
-#endif I
+#endif
/*
* if we are hacking owners here, (only do this where told to)
* and we are not giving it TOO root, (would subvert quotas)
@@ -859,7 +859,7 @@ ext2_mkdir(ap)
ucred.cr_groups[0] = dp->i_gid;
ucp = &ucred;
}
-#endif I
+#endif
} else {
ip->i_uid = cnp->cn_cred->cr_uid;
}
@@ -1096,7 +1096,7 @@ ext2_makeinode(mode, dvp, vpp, cnp)
#ifdef QUOTA
struct ucred ucred, *ucp;
ucp = cnp->cn_cred;
-#endif I
+#endif
/*
* if we are
* not the owner of the directory,
@@ -1123,7 +1123,7 @@ ext2_makeinode(mode, dvp, vpp, cnp)
ucred.cr_ngroups = 1;
ucred.cr_groups[0] = pdir->i_gid;
ucp = &ucred;
-#endif I
+#endif
} else {
ip->i_uid = cnp->cn_cred->cr_uid;
}
diff --git a/sys/gnu/fs/ext2fs/ext2_vnops.c b/sys/gnu/fs/ext2fs/ext2_vnops.c
index 75d2da3..180ac3d 100644
--- a/sys/gnu/fs/ext2fs/ext2_vnops.c
+++ b/sys/gnu/fs/ext2fs/ext2_vnops.c
@@ -831,7 +831,7 @@ ext2_mkdir(ap)
#ifdef QUOTA
struct ucred ucred, *ucp;
ucp = cnp->cn_cred;
-#endif I
+#endif
/*
* if we are hacking owners here, (only do this where told to)
* and we are not giving it TOO root, (would subvert quotas)
@@ -859,7 +859,7 @@ ext2_mkdir(ap)
ucred.cr_groups[0] = dp->i_gid;
ucp = &ucred;
}
-#endif I
+#endif
} else {
ip->i_uid = cnp->cn_cred->cr_uid;
}
@@ -1096,7 +1096,7 @@ ext2_makeinode(mode, dvp, vpp, cnp)
#ifdef QUOTA
struct ucred ucred, *ucp;
ucp = cnp->cn_cred;
-#endif I
+#endif
/*
* if we are
* not the owner of the directory,
@@ -1123,7 +1123,7 @@ ext2_makeinode(mode, dvp, vpp, cnp)
ucred.cr_ngroups = 1;
ucred.cr_groups[0] = pdir->i_gid;
ucp = &ucred;
-#endif I
+#endif
} else {
ip->i_uid = cnp->cn_cred->cr_uid;
}
OpenPOWER on IntegriCloud