summaryrefslogtreecommitdiff
path: root/tests/fs-tests/utils/free_space.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-04-20 17:25:01 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-04-22 14:29:53 +0300
commitef4b2ceb552b5e32fa2defe7a48f1aec86b82333 (patch)
treed8a23904cd1ffb3978e7567212236f914e6c1d7b /tests/fs-tests/utils/free_space.c
parent5fcab90f2d89d472bf0aa70682329e923689c449 (diff)
fs-tests: integck: add recovery remounting function
When re-mountig to recover from the emulated power-cut failure then we should do a bit less fancy things, e.g., we should not try to re-mount to R/O and R/W modes forth and back, but we should instead just unmount directly. Additionally, we should not die if mount fails because there may be a power cut emulation during mounting. Thus, create a separate function for recovering and try to recover in a loop. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'tests/fs-tests/utils/free_space.c')
0 files changed, 0 insertions, 0 deletions