+40
−42
Loading
separate the "cleanup" and "apply" codepaths (they have almost no overlap),
fold the "cleanup" into "prepare" (which eliminates the need of ->revert)
and make loops more idiomatic.
Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk>