]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libblkid: add FSLASTBLOCK field interface showing area occupied by fs
authorAndrey Albershteyn <aalbersh@redhat.com>
Wed, 27 Apr 2022 11:24:56 +0000 (13:24 +0200)
committerAndrey Albershteyn <aalbersh@redhat.com>
Wed, 27 Apr 2022 17:00:06 +0000 (19:00 +0200)
commitb7cb26ec37aca229ecc2b78ad83bec6fbd6a6940
treebd0b3dca92133ba19ef7552f270cf0153769e23d
parent9c01f798f491a59bb1124776f24d983972491382
libblkid: add FSLASTBLOCK field interface showing area occupied by fs

Add interface to let filesystem set FSLASTBLOCK which is basically
total number of fsblocks (area occupied by fs). Enable that field in
the 'superblocks' sample.

Signed-off-by: Andrey Albershteyn <aalbersh@redhat.com>
libblkid/samples/superblocks.c
libblkid/src/blkid.h.in
libblkid/src/superblocks/superblocks.c
libblkid/src/superblocks/superblocks.h