From 199ddaaa445e14fca8113b0db85e2576267071c9 Mon Sep 17 00:00:00 2001 From: Josef Bacik Date: Thu, 13 Mar 2008 13:46:10 -0400 Subject: resize2fs: Add options to print (and resizing to) the minimum filesystem size Add the -P option to print the minimum filesystem size and exit. Add the -M option to force resizing the filesystem to the minimum filesystem size. Signed-off-by: Josef Back Signed-off-by: "Theodore Ts'o" --- resize/resize2fs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'resize/resize2fs.h') diff --git a/resize/resize2fs.h b/resize/resize2fs.h index f87d04e4..49b77d83 100644 --- a/resize/resize2fs.h +++ b/resize/resize2fs.h @@ -129,6 +129,7 @@ extern errcode_t resize_fs(ext2_filsys fs, blk_t *new_size, int flags, extern errcode_t adjust_fs_info(ext2_filsys fs, ext2_filsys old_fs, blk_t new_size); +extern blk_t calculate_minimum_resize_size(ext2_filsys fs); /* extent.c */ -- cgit v1.2.3