1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 20:25:52 +03:00

debug: correct stack tracing

Here the 'goto' is correct path, as  !device_is_usable
is traceable with <backtrace>.

Keep the 'stack' for unusable device.
This commit is contained in:
Zdenek Kabelac 2015-12-04 22:02:24 +01:00
parent 45781161f4
commit 8b16efd17c

View File

@ -321,7 +321,8 @@ static int _ignore_blocked_mirror_devices(struct device *dev,
.check_suspended = ignore_suspended_devices(),
.check_error_target = 1,
.check_reserved = 0 }))
goto_out;
goto out; /* safe to use */
stack;
}
}