• A
    [PATCH] __bread oops fix · a3e713b5
    Andrew Morton 提交于
    If a filesystem passes an idiotic blocksize into bread(), __getblk_slow() will
    warn and will return NULL.  We have a report (from Hubert Tonneau
    <hubert.tonneau@fullpliant.org>) 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: NAndrew Morton <akpm@osdl.org>
    Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
    a3e713b5
buffer.c 82.2 KB