diff options
author | Namhyung Kim <namhyung@gmail.com> | 2010-10-13 17:17:18 +0900 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2010-10-28 01:30:04 +0200 |
commit | 2a0e33889b3f5e3c270dd1b746f4c0a75efa4790 (patch) | |
tree | 322394e75daccaf692a4adb388efa596a231a59b /lib/locking-selftest-wlock-softirq.h | |
parent | 81a4e320e6ee29bde3fe880ab87b2122bc1de88b (diff) | |
download | blackbird-op-linux-2a0e33889b3f5e3c270dd1b746f4c0a75efa4790.tar.gz blackbird-op-linux-2a0e33889b3f5e3c270dd1b746f4c0a75efa4790.zip |
jbd: Check return value of __getblk()
Fail journal creation if __getblk() returns NULL. unlikely() is
added because it is called in a loop and we've been OK without
the check until now.
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'lib/locking-selftest-wlock-softirq.h')
0 files changed, 0 insertions, 0 deletions