From: Dave Kleikamp Date: Sat, 13 Oct 2007 17:58:00 +0000 (-0500) Subject: JFS: Bio cleanup: Replace missing return statements X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8d8fe64237646fdd2c2de2722ec4189a5999119d;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git JFS: Bio cleanup: Replace missing return statements commit e30408b2a99cb7b8bf529c7dc2328a19d71894cf ("JFS: fix bio-related build breakage") removed some "return 0;" statements, rather than changing them to null returns. Signed-off-by: Dave Kleikamp Cc: Jeff Garzik Cc: Randy Dunlap Cc: Jens Axboe Signed-off-by: Linus Torvalds --- diff --git a/fs/jfs/jfs_logmgr.c b/fs/jfs/jfs_logmgr.c index ccfd02944053..15a3974cdeeb 100644 --- a/fs/jfs/jfs_logmgr.c +++ b/fs/jfs/jfs_logmgr.c @@ -2234,6 +2234,8 @@ static void lbmIODone(struct bio *bio, int error) /* wakeup I/O initiator */ LCACHE_WAKEUP(&bp->l_ioevent); + + return; } /* @@ -2258,6 +2260,7 @@ static void lbmIODone(struct bio *bio, int error) if (bp->l_flag & lbmDIRECT) { LCACHE_WAKEUP(&bp->l_ioevent); LCACHE_UNLOCK(flags); + return; } tail = log->wqueue;