diff options
author | Csókás, Bence <csokas.bence@prolan.hu> | 2024-08-26 13:24:59 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2024-09-25 07:51:11 +0200 |
commit | 729e703285f86b1a696df98276bf26058e3a04fa (patch) | |
tree | 54df5d667a399fad54ec0445dbbeab48827b4740 /tests/unittests/libmtd_test.c | |
parent | b14cc35e792107b40715ee3e20e82b3f7db4b068 (diff) |
fs-tests: integck: Refactor: split out common remount logic
remount_tested_fs() and recover_tested_fs() both have
almost the same code for remounting the target FS
RO then RW. Split this sequence into a new
function called remount_ro_rw().
Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com>
Link: https://lore.kernel.org/linux-mtd/5530437c-b564-461f-26af-85bde1a00cb3@huawei.com/T/#mad1d043095b3f64a1f1eddd2d87b1545e329e141
Signed-off-by: Csókás, Bence <csokas.bence@prolan.hu>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/unittests/libmtd_test.c')
0 files changed, 0 insertions, 0 deletions