summaryrefslogtreecommitdiffstats
path: root/fs/jfs
diff options
context:
space:
mode:
authorDave Kleikamp <shaggy@linux.vnet.ibm.com>2007-10-13 12:58:00 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-13 11:14:04 -0700
commit8d8fe64237646fdd2c2de2722ec4189a5999119d (patch)
treea547758928d70b6e6d1a7a0a2c3ee2455eb576bf /fs/jfs
parentffb035591f2736921d5dadcf8597bc1da1ba71e5 (diff)
downloadlinux-stable-8d8fe64237646fdd2c2de2722ec4189a5999119d.tar.gz
linux-stable-8d8fe64237646fdd2c2de2722ec4189a5999119d.tar.bz2
linux-stable-8d8fe64237646fdd2c2de2722ec4189a5999119d.zip
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 <shaggy@linux.vnet.ibm.com> Cc: Jeff Garzik <jeff@garzik.org> Cc: Randy Dunlap <randy.dunlap@oracle.com> Cc: Jens Axboe <jens.axboe@oracle.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/jfs')
-rw-r--r--fs/jfs/jfs_logmgr.c3
1 files changed, 3 insertions, 0 deletions
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;