diff options
| author | Andrew Morton <[email protected]> | 2005-10-30 23:03:15 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2005-10-31 01:37:27 +0000 |
| commit | a3e713b5fdd0e54c2e3c8909ccde2a98839e3a52 (patch) | |
| tree | c42c037f239de130f2efe30777df9688bf4dd022 /lib/string.c | |
| parent | [PATCH] semaphore: Remove __MUTEX_INITIALIZER() (diff) | |
| download | kernel-a3e713b5fdd0e54c2e3c8909ccde2a98839e3a52.tar.gz kernel-a3e713b5fdd0e54c2e3c8909ccde2a98839e3a52.zip | |
[PATCH] __bread oops fix
If a filesystem passes an idiotic blocksize into bread(), __getblk_slow() will
warn and will return NULL. We have a report (from Hubert Tonneau
<[email protected]>) of isofs_fill_super() doing this (passing in
a silly block size) against an unplugged CDROM drive.
But a couple of __getblk_slow() callers forgot to check for the NULL bh, hence
oops.
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions
