Messages in this thread | | | Date | Thu, 25 Dec 2003 10:59:16 +0800 | From | Hugang <> | Subject | Re: [PATCH] laptop-mode for 2.6, version 2 |
| |
On Wed, 24 Dec 2003 17:24:04 +0300 Nikita Danilov <Nikita@Namesys.COM> 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 [unhandled content-type:application/octet-stream] | |