diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2024-09-26 12:05:29 +0300 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2024-11-14 20:48:20 +0300 |
commit | c6fa76da34ae4f2eb95ce3fb6c939285082515de (patch) | |
tree | 15b22458c06d2c947836fb87749ab25c205308fd /lib/mpi/mpi-inline.c | |
parent | 5580cdae05aefa96deebd7f5ade9d70c92adabd7 (diff) | |
download | linux-c6fa76da34ae4f2eb95ce3fb6c939285082515de.tar.xz |
ubifs: Call iput(xino) only once in ubifs_purge_xattrs()
An iput(xino) call was immediately used after a return value check
for a remove_xattr() call in this function implementation.
Thus call such a function only once instead directly before the check.
This issue was transformed by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'lib/mpi/mpi-inline.c')
0 files changed, 0 insertions, 0 deletions