util-linux: support erofs filesystem

Add erofs to the known volume_ids.

function                                             old     new   delta
volume_id_probe_erofs                                  -      89     +89
fs1                                                   24      28      +4
------------------------------------------------------------------------------
(add/remove: 2/0 grow/shrink: 1/0 up/down: 93/0)               Total: 93 bytes

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Norbert Lange
2020-07-13 17:22:27 +02:00
committed by Denys Vlasenko
parent bd46f64dcb
commit c20e42e320
3 changed files with 72 additions and 0 deletions

View File

@ -106,6 +106,9 @@ static const probe_fptr fs1[] = {
#if ENABLE_FEATURE_VOLUMEID_SQUASHFS
volume_id_probe_squashfs,
#endif
#if ENABLE_FEATURE_VOLUMEID_EROFS
volume_id_probe_erofs,
#endif
#if ENABLE_FEATURE_VOLUMEID_XFS
volume_id_probe_xfs,
#endif