diff options
author | Josef Bacik <[email protected]> | 2019-12-06 09:37:17 -0500 |
---|---|---|
committer | David Sterba <[email protected]> | 2019-12-13 14:10:45 +0100 |
commit | 9bc574de590510eff899c3ca8dbaf013566b5efe (patch) | |
tree | d9c530ec46f28ef4008e2395772e9a474fd1d3a8 /lib/netdev-notifier-error-inject.c | |
parent | 714cd3e8cba6841220dce9063a7388a81de03825 (diff) |
btrfs: skip log replay on orphaned roots
My fsstress modifications coupled with generic/475 uncovered a failure
to mount and replay the log if we hit a orphaned root. We do not want
to replay the log for an orphan root, but it's completely legitimate to
have an orphaned root with a log attached. Fix this by simply skipping
replaying the log. We still need to pin it's root node so that we do
not overwrite it while replaying other logs, as we re-read the log root
at every stage of the replay.
CC: [email protected] # 4.4+
Reviewed-by: Filipe Manana <[email protected]>
Signed-off-by: Josef Bacik <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions