]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
sd: Disable support for 256 byte/sector disks
authorMark Hounschell <dmarkh@cfl.rr.com>
Wed, 13 May 2015 08:49:09 +0000 (10:49 +0200)
committerZefan Li <lizefan@huawei.com>
Fri, 18 Sep 2015 01:20:42 +0000 (09:20 +0800)
commitc1de4ad549f4726df3844fff44049151abdd00f8
tree384803a96aa2e05dcc24f0efb493bd571f1f9dea
parentcc81c42b3fe5cac84f025715260d9bff305e9968
sd: Disable support for 256 byte/sector disks

commit 74856fbf441929918c49ff262ace9835048e4e6a upstream.

256 bytes per sector support has been broken since 2.6.X,
and no-one stepped up to fix this.
So disable support for it.

Signed-off-by: Mark Hounschell <dmarkh@cfl.rr.com>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
[lizf: Backported to 3.4: adjust context]
Signed-off-by: Zefan Li <lizefan@huawei.com>
drivers/scsi/sd.c