From: Borislav Petkov Date: Fri, 1 May 2009 18:29:53 +0000 (+0200) Subject: ide-tape: fix potential fs requests bug X-Git-Tag: v2.6.31-rc1~103^2~19^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10c0b3437c4dc0d14ac254bbe71e54ea5f238d97;p=pandora-kernel.git ide-tape: fix potential fs requests bug ide-tape had a potential bug for fs requests when preparing the command packet: it was writing the transfer length as a number of fixed blocks. However, the block layer implies 512 byte blocks and ide-tape can have other block sizes so account for that too. ide-floppy does this calculation properly with the block size factor (floppy->bs_factor). Signed-off-by: Borislav Petkov --- Reading git-diff-tree failed