commit | 77ac16dfba42e0d152b1e99359e01a933f8cc6f9 | [log] [tgz] |
---|---|---|
author | Zhiqiang Liu <liuzhiqiang26@huawei.com> | Mon Sep 05 23:40:01 2022 +0800 |
committer | Theodore Ts'o <tytso@mit.edu> | Mon Sep 12 07:52:53 2022 -0400 |
tree | 5fc7a88f2c2d1c268935f11779ea4277a716e444 | |
parent | 66ecb6abe5d2c74191bb4bc24f3da036e5fa1213 [diff] |
tune2fs: tune2fs_main() should return rc when some error, occurs If some error occurs, tune2fs_main() will go to closefs tag for releasing resource, and it should return correct value (rc) instead of 0 when ext2fs_close_free(&fs) successes. Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com> Reviewed-by: Artem Blagodarenko <artem.blagodarenko@gmail.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>