summaryrefslogtreecommitdiff
path: root/sys/gnu/ext2fs/ext2_linux_ialloc.c
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1998-10-03 16:19:28 +0000
committerBruce Evans <bde@FreeBSD.org>1998-10-03 16:19:28 +0000
commit8f359bc68c24ccfff3754c753a4a65d529f60b30 (patch)
treecbd95a92e112ac21eea9f323dde45aade67dc92f /sys/gnu/ext2fs/ext2_linux_ialloc.c
parentaef1f383cff8d317d4b8161ffc59681083e6690c (diff)
Notes
Diffstat (limited to 'sys/gnu/ext2fs/ext2_linux_ialloc.c')
-rw-r--r--sys/gnu/ext2fs/ext2_linux_ialloc.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/gnu/ext2fs/ext2_linux_ialloc.c b/sys/gnu/ext2fs/ext2_linux_ialloc.c
index 00e1a5a5e0d2..4cfb6a721dfa 100644
--- a/sys/gnu/ext2fs/ext2_linux_ialloc.c
+++ b/sys/gnu/ext2fs/ext2_linux_ialloc.c
@@ -56,11 +56,7 @@ void mark_buffer_dirty(struct buf *bh)
int s;
s = splbio();
- if (!(bh->b_flags & B_DELWRI)) {
- numdirtybuffers++;
- bh->b_flags |= B_DELWRI;
- bh->b_flags &= ~(B_READ | B_ERROR);
- }
+ bh->b_flags |= B_DIRTY;
splx(s);
}