* [PATCH] resize2fs: calculate minimal fs size only once
@ 2009-09-04 7:22 Peng Tao
2009-09-07 18:21 ` Theodore Tso
0 siblings, 1 reply; 2+ messages in thread
From: Peng Tao @ 2009-09-04 7:22 UTC (permalink / raw)
To: linux-ext4; +Cc: Theodore Ts'o, Peng Tao
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(-)
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);
--
1.6.4.2.446.gbd046
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] resize2fs: calculate minimal fs size only once
2009-09-04 7:22 [PATCH] resize2fs: calculate minimal fs size only once Peng Tao
@ 2009-09-07 18:21 ` Theodore Tso
0 siblings, 0 replies; 2+ messages in thread
From: Theodore Tso @ 2009-09-07 18:21 UTC (permalink / raw)
To: Peng Tao; +Cc: linux-ext4
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-09-07 18:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-04 7:22 [PATCH] resize2fs: calculate minimal fs size only once Peng Tao
2009-09-07 18:21 ` Theodore Tso
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).