diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1998-06-21 19:56:31 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1998-06-21 19:56:31 +0000 |
| commit | 9b7a8fb7d80987137d1d08e965c6490502913659 (patch) | |
| tree | 7405e73b44a397eea7fb9c2c4a8c20f9d0236489 /sys/gnu/ext2fs/ext2_linux_ialloc.c | |
| parent | be160d60abd933cddc2159f7291b1e687dc3e765 (diff) | |
Notes
Diffstat (limited to 'sys/gnu/ext2fs/ext2_linux_ialloc.c')
| -rw-r--r-- | sys/gnu/ext2fs/ext2_linux_ialloc.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/sys/gnu/ext2fs/ext2_linux_ialloc.c b/sys/gnu/ext2fs/ext2_linux_ialloc.c index 14bcec288fc8..d7f5bec18cd7 100644 --- a/sys/gnu/ext2fs/ext2_linux_ialloc.c +++ b/sys/gnu/ext2fs/ext2_linux_ialloc.c @@ -60,24 +60,6 @@ void mark_buffer_dirty(struct buf *bh) bh->b_flags &= ~(B_READ | B_ERROR); } -/* - this should write a buffer immediately w/o releasing it - */ -int ll_w_block(struct buf * bp, int waitfor) -{ - if (bp->b_flags & B_DELWRI) { - --numdirtybuffers; - if (needsbuffer) - vfs_bio_need_satisfy(); - } - bp->b_flags &= ~(B_READ|B_DONE|B_ERROR|B_DELWRI); - bp->b_flags |= B_WRITEINPROG; - bp->b_vp->v_numoutput++; - vfs_busy_pages(bp, 1); - VOP_STRATEGY(bp); - return waitfor ? biowait(bp) : 0; -} - struct ext2_group_desc * get_group_desc (struct mount * mp, unsigned int block_group, struct buffer_head ** bh) |
