summaryrefslogtreecommitdiffstats
path: root/sys/ufs
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-02-22 09:03:00 +0000
committerphk <phk@FreeBSD.org>2002-02-22 09:03:00 +0000
commit62d248fb9eb6f0b6dc7d6c7832ef5206f47d0f34 (patch)
treefb3c809509832050d51481f376c5db77b79b940c /sys/ufs
parent921e42206aa3611a5a583b7df2a4e94e01a516b9 (diff)
downloadFreeBSD-src-62d248fb9eb6f0b6dc7d6c7832ef5206f47d0f34.zip
FreeBSD-src-62d248fb9eb6f0b6dc7d6c7832ef5206f47d0f34.tar.gz
Replace bowrite() with BUF_WRITE in ufs.
Remove bowrite(), it is now unused. This is the first step in getting entirely rid of BIO_ORDERED which is a generally accepted evil thing. Approved by: mckusick
Diffstat (limited to 'sys/ufs')
-rw-r--r--sys/ufs/ufs/ufs_lookup.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ufs/ufs/ufs_lookup.c b/sys/ufs/ufs/ufs_lookup.c
index da1c0e9..ee7df3d 100644
--- a/sys/ufs/ufs/ufs_lookup.c
+++ b/sys/ufs/ufs/ufs_lookup.c
@@ -953,7 +953,7 @@ ufs_direnter(dvp, tvp, dirp, cnp, newdirbp)
bdwrite(bp);
error = 0;
} else {
- error = bowrite(bp);
+ error = BUF_WRITE(bp);
}
}
dp->i_flag |= IN_CHANGE | IN_UPDATE;
@@ -1070,7 +1070,7 @@ out:
bdwrite(bp);
error = 0;
} else
- error = bowrite(bp);
+ error = BUF_WRITE(bp);
}
dp->i_flag |= IN_CHANGE | IN_UPDATE;
/*
@@ -1120,7 +1120,7 @@ ufs_dirrewrite(dp, oip, newinum, newtype, isrmdir)
bdwrite(bp);
error = 0;
} else {
- error = bowrite(bp);
+ error = BUF_WRITE(bp);
}
}
dp->i_flag |= IN_CHANGE | IN_UPDATE;
OpenPOWER on IntegriCloud