]> git.ipfire.org Git - thirdparty/systemd.git/commit
dissect-image: return error if results are ambiguous
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 30 Nov 2017 11:09:36 +0000 (12:09 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 30 Nov 2017 19:46:30 +0000 (20:46 +0100)
commit7cc84b2cd385b8a838347c2ff29c978689dadf84
tree468ffefa68d83ca03d2f79f7406fd919b88eb5c9
parent7f2806d50937a7fbe6d673ce8fc62634129c3a12
dissect-image: return error if results are ambiguous

We let the caller make the decision. Existing callers are OK with treating an
ambiguous result the same as no content, but makefs and growfs should refuse such
partitions.
src/partition/growfs.c
src/partition/makefs.c
src/shared/dissect-image.c