http://bugzilla.opensuse.org/show_bug.cgi?id=1018399
http://bugzilla.opensuse.org/show_bug.cgi?id=1018399#c1
--- Comment #1 from Peter Wullinger ---
Created attachment 708792
--> http://bugzilla.opensuse.org/attachment.cgi?id=708792&action=edit
Add (dev) guard condition to device_is_bound_by_mounts()
This is a bona fide patch to handle the case when
device_is_bound_by_mounts(Unit *d, struct udev_device *dev) is called with (dev
== NULL), which seems to be a valid parameter combination in the calling
function.
It removes the problematic assertion and instead guards the udev property query
by a non-NULL check.
I'd really like this to be reviewed by someone more familiar with the new
bind_mounts functionality.
--
You are receiving this mail because:
You are on the CC list for the bug.