summaryrefslogtreecommitdiff
path: root/resize/resize2fs.h
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@redhat.com>2008-03-13 13:46:10 -0400
committerTheodore Ts'o <tytso@mit.edu>2008-03-15 01:30:43 -0400
commit199ddaaa445e14fca8113b0db85e2576267071c9 (patch)
tree7e05c8b869b58b2a85bae5e403d07fa1734c6420 /resize/resize2fs.h
parent6567e5a684610832962a951a50712574eff59808 (diff)
downloade2fsprogs-199ddaaa445e14fca8113b0db85e2576267071c9.tar.gz
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 <jbacik@redhat.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'resize/resize2fs.h')
-rw-r--r--resize/resize2fs.h1
1 files changed, 1 insertions, 0 deletions
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 */