diff options
author | Brian Norris <computersforpeace@gmail.com> | 2011-08-19 10:07:54 -0700 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@intel.com> | 2011-08-23 09:27:50 +0300 |
commit | 56db38eb2a2642aea87bb9c5dd247bd4f383eb64 (patch) | |
tree | 7d313990e3aca2e2649f3fd5bc6ef5da9463bd98 /tests/fs-tests/simple/test_1.c | |
parent | b09ea01faa06ab5d037ba347b95324b042b8c352 (diff) |
nandwrite: cleanup "oobinfochanged" leftovers
We don't really use oobinfochanged anymore, since all the calls to the
MEMSETOOBSEL ioctls are gone. The remaining usage of it is superfluous
now, as the only case where it is changed is under the "noecc" condition
and the only case where it is tested is under the "!noecc" condition.
We also no longer need the "restoreoob" label and can instead simply
close everything done with the single remaining label, "closeall". Note
that `close(-1)' is legal, although useless.
Finally, we move `old_oobinfo' into the only block of code in which it's
used now.
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
Diffstat (limited to 'tests/fs-tests/simple/test_1.c')
0 files changed, 0 insertions, 0 deletions