chiark / gitweb /
Modify mount_propagation_flags_from_string to return a normal int code
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 3 Dec 2016 18:57:42 +0000 (13:57 -0500)
committerSven Eden <yamakuzure@gmx.net>
Mon, 17 Jul 2017 15:58:35 +0000 (17:58 +0200)
commit36eeeaefcf062fe8096fe4e7ae61ea20450f9040
treeab2b3478f2670a75956132ceb912840a07163d76
parentf25c1757c11b5642fbb4a38f1ed7fbeef5bb3c1f
Modify mount_propagation_flags_from_string to return a normal int code

This means that callers can distiguish an error from flags==0,
and don't have to special-case the empty string.
src/basic/mount-util.c
src/basic/mount-util.h