]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/umount.c
umount: fix check for DM changed
authorMichal Schmidt <mschmidt@redhat.com>
Fri, 7 Dec 2012 16:34:21 +0000 (17:34 +0100)
committerMichal Schmidt <mschmidt@redhat.com>
Fri, 7 Dec 2012 16:34:21 +0000 (17:34 +0100)
commitc678406681d32d56730b9e9c002d5500d7aa7f8b
tree3a9aeca0eb7684358908f91d042879e7fd8251f2
parent2569a5ce16638d99f1ebaaa7774d183496d8b8e8
umount: fix check for DM changed

delete_dm() returns 0 on success. The check for "r > 0" was likely
a copy&paste error from the loopback code where "r > 0" makes sense.
src/core/umount.c