projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffb0355
)
JFS: Bio cleanup: Replace missing return statements
author
Dave Kleikamp
<
[email protected]
>
Sat, 13 Oct 2007 17:58:00 +0000
(12:58 -0500)
committer
Linus Torvalds
<
[email protected]
>
Sat, 13 Oct 2007 18:14:04 +0000
(11:14 -0700)
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 <
[email protected]
>
Cc: Jeff Garzik <
[email protected]
>
Cc: Randy Dunlap <
[email protected]
>
Cc: Jens Axboe <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
fs/jfs/jfs_logmgr.c
patch
|
blob
|
history
diff --git
a/fs/jfs/jfs_logmgr.c
b/fs/jfs/jfs_logmgr.c
index ccfd02944053b3178c4cbcab5604ef4621e6a2e4..15a3974cdeeb1f478cb4040e47b80a61994a6ca5 100644
(file)
--- 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;