[Libguestfs] [PATCHv4 0/2] Introduce vfs_minimum_size API to get minimum filesystem size.

Maxim Perevedentsev
Tue, 20 Oct 2015 15:45:54 -0000

Tried to make it in accordance with your comments.

Difference to v1:
Added reply_with_error where necessary.
Changed name get_min_size -> vfs_min_size.

Difference to v2:
Changed name to vfs_minimum_size.
Changed parsing to xstrtol + STR* macros where possible.

Difference to v3:
Decapitalize error messages.

Maxim Perevedentsev (2):
  New API: vfs_minimum_size
  Include resize2fs_P into vfs_minimum_size.

 daemon/Makefile.am   |  1 +
 daemon/daemon.h      |  2 ++
 daemon/ext2.c        | 62 ++++++++++++++++++++++++++++++++-----
 daemon/fs-min-size.c | 49 +++++++++++++++++++++++++++++
 daemon/ntfs.c        | 87 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 generator/actions.ml | 19 ++++++++----
 po/POTFILES          |  1 +
 7 files changed, 207 insertions(+), 14 deletions(-)
 create mode 100644 daemon/fs-min-size.c

--
1.8.3.1