mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-28 21:46:02 -04:00
nvme: lightnvm: attach lightnvm sysfs to nvme block device
Previously, LBA read and write were not supported in the lightnvm specification. Now that it supports it, lets use the traditional NVMe gendisk, and attach the lightnvm sysfs geometry export. Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@fb.com>
This commit is contained in:
committed by
Jens Axboe
parent
7498e99fc5
commit
3dc87dd048
@@ -352,8 +352,6 @@ struct nvm_dev {
|
||||
|
||||
/* Backend device */
|
||||
struct request_queue *q;
|
||||
struct device dev;
|
||||
struct device *parent_dev;
|
||||
char name[DISK_NAME_LEN];
|
||||
void *private_data;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user