diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-04-20 17:25:01 +0300 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-04-22 14:29:53 +0300 |
commit | ef4b2ceb552b5e32fa2defe7a48f1aec86b82333 (patch) | |
tree | d8a23904cd1ffb3978e7567212236f914e6c1d7b /sumtool.c | |
parent | 5fcab90f2d89d472bf0aa70682329e923689c449 (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 'sumtool.c')
0 files changed, 0 insertions, 0 deletions