diff options
| author | Wei Yongjun <[email protected]> | 2018-05-31 11:41:30 +0000 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2018-05-31 18:46:46 +0200 |
| commit | 1367bc82858018fd1a5a81b8fad4628e7163d1bf (patch) | |
| tree | a56ba69f7fd73ceb73a6cdca58c2dbaa01e77184 /scripts/gcc-plugins/gcc-generate-rtl-pass.h | |
| parent | 81cf54e01a3d2eb47bee78a7579fc4dd0912f347 (diff) | |
nvmet: fix error return code in nvmet_file_ns_enable()
Fix to return error code -ENOMEM from the memory alloc fail error
handling case instead of 0, as done elsewhere in this function.
Fixes: d5eff33ee6f8 ("nvmet: add simple file backed ns support")
Signed-off-by: Wei Yongjun <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-rtl-pass.h')
0 files changed, 0 insertions, 0 deletions