From: Christian Borntraeger Date: Tue, 4 Dec 2007 15:09:03 +0000 (+0100) Subject: [S390] dcssblk: prevent early access without own make_request function X-Git-Tag: v2.6.24-rc5~111^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=436d1bc7fe6e78e37fe5f5022ea4d5c133d825eb;p=pandora-kernel.git [S390] dcssblk: prevent early access without own make_request function When loading a dcss segment with the dcssblk driver, sometimes the following kind of message appears: bio too big device dcssblk0 (8 > 0) Buffer I/O error on device dcssblk0, logical block 172016 .. The fix is to move the disk registration after setting the make_request function, to avoid calls into generic_make_request for dcssblock without having the make_request function set up properly. Cc: Gerald Schaefer Signed-off-by: Christian Borntraeger Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed