diff options
author | Zhang Qilong <zhangqilong3@huawei.com> | 2020-12-05 12:50:56 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2020-12-17 01:53:00 +0100 |
commit | 4c46764733c85b82c07e9559b39da4d00a7dd659 (patch) | |
tree | d6e272f97377e641195786300d5f7953f4425f32 /fs/xfs/Makefile | |
parent | libnvdimm: Cleanup include of badblocks.h (diff) | |
download | linux-4c46764733c85b82c07e9559b39da4d00a7dd659.tar.xz linux-4c46764733c85b82c07e9559b39da4d00a7dd659.zip |
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 <zhangqilong3@huawei.com>
Link: https://lore.kernel.org/r/20201205115056.2076523-1-zhangqilong3@huawei.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'fs/xfs/Makefile')
0 files changed, 0 insertions, 0 deletions