diff options
author | Wang ShaoBo <bobo.shaobowang@huawei.com> | 2020-11-15 11:23:43 +0300 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2021-02-14 00:58:44 +0300 |
commit | 42119dbe571eb419dae99b81dd20fa42f47464e1 (patch) | |
tree | 2827b358fa5fca1f1936931ca83ee22e1672005c /drivers/mtd | |
parent | 90ada91f4610c5ef11bc52576516d96c496fc3f1 (diff) | |
download | linux-42119dbe571eb419dae99b81dd20fa42f47464e1.tar.xz |
ubifs: Fix error return code in alloc_wbufs()
Fix to return PTR_ERR() error code from the error handling case instead
fo 0 in function alloc_wbufs(), as done elsewhere in this function.
Fixes: 6a98bc4614de ("ubifs: Add authentication nodes to journal")
Signed-off-by: Wang ShaoBo <bobo.shaobowang@huawei.com>
Reviewed-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'drivers/mtd')
0 files changed, 0 insertions, 0 deletions