diff options
| author | Zhang Qilong <[email protected]> | 2020-12-05 19:50:56 +0800 |
|---|---|---|
| committer | Dan Williams <[email protected]> | 2020-12-16 16:53:00 -0800 |
| commit | 4c46764733c85b82c07e9559b39da4d00a7dd659 (patch) | |
| tree | d6e272f97377e641195786300d5f7953f4425f32 /drivers/fpga/xilinx-selectmap.c | |
| parent | 5ae96d779ff3eeb2977919ff311a6c8849943c2d (diff) | |
libnvdimm/label: Return -ENXIO for no slot in __blk_label_update
Forget to set error code when nd_label_alloc_slot failed, and we
add it to avoid overwritten error code.
Fixes: 0ba1c634892b ("libnvdimm: write blk label set")
Signed-off-by: Zhang Qilong <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'drivers/fpga/xilinx-selectmap.c')
0 files changed, 0 insertions, 0 deletions