lkml.org 
[lkml]   [2003]   [Dec]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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]
\
 
 \ /
  Last update: 2005-03-22 13:59    [W:0.055 / U:0.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site