Skip to content

Commit

Permalink
JFS: fix bio-related build breakage
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Jeff Garzik authored and Linus Torvalds committed Oct 12, 2007
1 parent ce9d3c9 commit e30408b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions fs/jfs/jfs_logmgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -2162,7 +2162,7 @@ static void lbmStartIO(struct lbuf * bp)
/* check if journaling to disk has been disabled */
if (log->no_integrity) {
bio->bi_size = 0;
lbmIODone(bio, 0, 0);
lbmIODone(bio, 0);
} else {
submit_bio(WRITE_SYNC, bio);
INCREMENT(lmStat.submitted);
Expand Down Expand Up @@ -2234,8 +2234,6 @@ static void lbmIODone(struct bio *bio, int error)

/* wakeup I/O initiator */
LCACHE_WAKEUP(&bp->l_ioevent);

return 0;
}

/*
Expand All @@ -2260,7 +2258,6 @@ static void lbmIODone(struct bio *bio, int error)
if (bp->l_flag & lbmDIRECT) {
LCACHE_WAKEUP(&bp->l_ioevent);
LCACHE_UNLOCK(flags);
return 0;
}

tail = log->wqueue;
Expand Down Expand Up @@ -2339,8 +2336,6 @@ static void lbmIODone(struct bio *bio, int error)

LCACHE_UNLOCK(flags); /* unlock+enable */
}

return 0;
}

int jfsIOWait(void *arg)
Expand Down

0 comments on commit e30408b

Please sign in to comment.