Commit b2e607fe authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

nvme: refactor the atomic write unit detection



Move all the code out of nvme_update_disk_info into the helper, and
rename the helper to have a somewhat less clumsy name.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarLuis Chamberlain <mcgrof@kernel.org>
Reviewed-by: default avatarJohn Garry <john.g.garry@oracle.com>
parent dd2c1854
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment