ubifs: Reduce kfree() calls in ubifs_purge_xattrs()
authorMarkus Elfring <elfring@users.sourceforge.net>
Thu, 26 Sep 2024 09:28:48 +0000 (11:28 +0200)
committerRichard Weinberger <richard@nod.at>
Thu, 14 Nov 2024 17:49:24 +0000 (18:49 +0100)
commit79d3e562cb47864a10851328cbdfa0ee2177d9f6
treef10525543bc2ff13ad999afa906c14880e6ec8c6
parentc6fa76da34ae4f2eb95ce3fb6c939285082515de
ubifs: Reduce kfree() calls in ubifs_purge_xattrs()

Move a pair of kfree() calls behind the label “out_err”
so that two statements can be better reused at the end of
this function implementation.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
fs/ubifs/xattr.c