Re: [PATCH] laptop-mode for 2.6, version 2

From: Hugang
Date: Wed Dec 24 2003 - 22:08:02 EST


On Wed, 24 Dec 2003 17:24:04 +0300
Nikita Danilov <Nikita@xxxxxxxxxxx> wrote:

> +int reiserfs_default_max_commit_age = -1;
> +
>
> I am not sure that global variable is a good idea here. What if several
> file systems are mounted? You should either pass value as an argument to
> the journal initialization code, or just initialize
> SB_JOURNAL_MAX_COMMIT_AGE(sb) when parsing options.

this patch do it, pls check.

thanks.

--
Hu Gang / Steve
RLU# : 204016 [1999] (Registered Linux user)
GPG Public Key: http://soulinfo.com/~hugang/HuGang.asc

Attachment: reiserfs_laptop_mode
Description: Binary data