virtio_blk: cleanups: remove check obsoleted by CONFIG_LBDAF removal
authorSohaib <sohaib.amhmd@gmail.com>
Fri, 30 Apr 2021 10:36:11 +0000 (12:36 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Sat, 3 Jul 2021 08:50:49 +0000 (04:50 -0400)
commit4f118472d4b40142004bc6bc652a651f67bfee94
tree7ad4849ce7f6846ceb70d242e2db02eed7f45403
parent3dbdb38e286903ec220aaf1fb29a8d94297da246
virtio_blk: cleanups: remove check obsoleted by CONFIG_LBDAF removal

Prior to 72deb455b5ec ("block: remove CONFIG_LBDAF"), it was optional if
the 32-bit kernel support block device and/or file sizes larger than 2 TiB
(considering the sector size is 512 bytes)
But now sector_t and blkcnt_t are always 64-bit in size.

Suggested-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sohaib Mohammed <sohaib.amhmd@gmail.com>
Link: https://lore.kernel.org/r/20210430103611.77345-1-sohaib.amhmd@gmail.com
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/block/virtio_blk.c