summaryrefslogtreecommitdiffstats
path: root/sys/gnu
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>1999-01-27 23:45:44 +0000
committerdillon <dillon@FreeBSD.org>1999-01-27 23:45:44 +0000
commitf9a4729a9b5e134850841ee06d85b97bf66e749b (patch)
treee09f1712b3a4b92e9e060d46fecff5e8f5243354 /sys/gnu
parentc590848cf5d691aba15e5a6579fb75c5fbefab93 (diff)
downloadFreeBSD-src-f9a4729a9b5e134850841ee06d85b97bf66e749b.zip
FreeBSD-src-f9a4729a9b5e134850841ee06d85b97bf66e749b.tar.gz
Fix warnings in preparation for adding -Wall -Wcast-qual to the
kernel compile. This commit includes significant work to proper handle const arguments for the DDB symbol routines.
Diffstat (limited to 'sys/gnu')
-rw-r--r--sys/gnu/ext2fs/ext2_vfsops.c4
-rw-r--r--sys/gnu/fs/ext2fs/ext2_vfsops.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/gnu/ext2fs/ext2_vfsops.c b/sys/gnu/ext2fs/ext2_vfsops.c
index f8403f5..7bc8b7f 100644
--- a/sys/gnu/ext2fs/ext2_vfsops.c
+++ b/sys/gnu/ext2fs/ext2_vfsops.c
@@ -916,9 +916,9 @@ loop:
nvp = vp->v_mntvnodes.le_next;
ip = VTOI(vp);
if (vp->v_type == VNON ||
- (ip->i_flag &
+ ((ip->i_flag &
(IN_ACCESS | IN_CHANGE | IN_MODIFIED | IN_UPDATE)) == 0 &&
- (TAILQ_EMPTY(&vp->v_dirtyblkhd) || waitfor == MNT_LAZY)) {
+ (TAILQ_EMPTY(&vp->v_dirtyblkhd))) || waitfor == MNT_LAZY) {
simple_unlock(&vp->v_interlock);
continue;
}
diff --git a/sys/gnu/fs/ext2fs/ext2_vfsops.c b/sys/gnu/fs/ext2fs/ext2_vfsops.c
index f8403f5..7bc8b7f 100644
--- a/sys/gnu/fs/ext2fs/ext2_vfsops.c
+++ b/sys/gnu/fs/ext2fs/ext2_vfsops.c
@@ -916,9 +916,9 @@ loop:
nvp = vp->v_mntvnodes.le_next;
ip = VTOI(vp);
if (vp->v_type == VNON ||
- (ip->i_flag &
+ ((ip->i_flag &
(IN_ACCESS | IN_CHANGE | IN_MODIFIED | IN_UPDATE)) == 0 &&
- (TAILQ_EMPTY(&vp->v_dirtyblkhd) || waitfor == MNT_LAZY)) {
+ (TAILQ_EMPTY(&vp->v_dirtyblkhd))) || waitfor == MNT_LAZY) {
simple_unlock(&vp->v_interlock);
continue;
}
OpenPOWER on IntegriCloud