Message ID | 1252048959-7936-1-git-send-email-bergwolf@gmail.com |
---|---|
State | Accepted, archived |
Headers | show |
On Fri, Sep 04, 2009 at 03:22:39PM +0800, Peng Tao wrote: > When running resize2fs -M, no need to recalculate the minimal fs size. > > Signed-off-by: "Peng Tao" <bergwolf@gmail.com> Applied to the maint branch, thanks. - Ted -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/resize/main.c b/resize/main.c index c6cbb5e..220c192 100644 --- a/resize/main.c +++ b/resize/main.c @@ -375,7 +375,7 @@ int main (int argc, char ** argv) exit(1); } if (force_min_size) - new_size = calculate_minimum_resize_size(fs); + new_size = min_size; else if (new_size_str) { new_size = parse_num_blocks(new_size_str, fs->super->s_log_block_size);
When running resize2fs -M, no need to recalculate the minimal fs size. Signed-off-by: "Peng Tao" <bergwolf@gmail.com> --- resize/main.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)