]> git.ipfire.org Git - thirdparty/util-linux.git/commit - disk-utils/mkswap.c
mkswap: improve extents check
authorKarel Zak <kzak@redhat.com>
Wed, 9 Sep 2020 13:37:27 +0000 (15:37 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 9 Sep 2020 13:41:56 +0000 (15:41 +0200)
commit29b68b9c7b414882dbe1e2e94b3e1b00c3d7cc57
tree71b5797a15dd3518275fee7986cc99ec366dd84e
parentc90a8f1a3cdf116e050708098f0188349b55abc3
mkswap: improve extents check

- remove unknown extent type (kernel does not care about it too)
- fix last_logical use in messages
- improve warning for DELALLOC extents
- check for hole at the end of the file

Reported-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/mkswap.c