commit | bd77b23b40370f0f37b6457a8d2a4ed2f2ba22c1 | [log] [tgz] |
---|---|---|
author | Javier González <javier@cnexlabs.com> | Fri Jan 05 14:16:05 2018 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Jan 05 08:50:12 2018 -0700 |
tree | 524deb9794c836ff79f304dce7052362e60e4db5 | |
parent | e29c80e6dd70d60de5db305eecf1aecf707b02e8 [diff] |
lightnvm: guarantee target unique name across devs. Until now, target unique naming is only guaranteed per device. This is ok from a lightnvm perspective, but not from a sysfs one, since groups will collide regardless of the underlying device. Check that names are unique across all lightnvm-capable devices. Signed-off-by: Javier González <javier@cnexlabs.com> Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@kernel.dk>