nvme: enable LBS support
Now that the block device cache allows LBS, and we have buffered-io
support, and we support both buffer-heads and iomap aops on the
block device cache through the inode dynamically, enable support for
LBA formats > PAGE_SIZE.
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c
index 3b0e00e..aa061ed 100644
--- a/drivers/nvme/host/core.c
+++ b/drivers/nvme/host/core.c
@@ -1847,9 +1847,6 @@ static bool nvme_lba_shift_supported(struct nvme_ns *ns)
if (ns->lba_shift <= PAGE_SHIFT)
return true;
- if (IS_ENABLED(CONFIG_BUFFER_HEAD))
- return false;
-
if (ns->lba_shift <= NVME_MAX_SHIFT_SUPPORTED)
return true;