]> git.neil.brown.name Git - history.git/commit
[PATCH] Fix default value for commit interval for older reiserfs filesystems.
authorAndrew Morton <akpm@osdl.org>
Mon, 19 Apr 2004 05:06:16 +0000 (22:06 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 19 Apr 2004 05:06:16 +0000 (22:06 -0700)
commit3d9d1320db840f032f47b3ad1cd31dde18675057
tree721d8ca006545513a3dc22044d2ff7366744fb42
parent59fed502a431f604111642f27bb7a64bd6719f46
[PATCH] Fix default value for commit interval for older reiserfs filesystems.

From: Bart Samwel <bart@samwel.tk>

The reiserfs patch that adds support for "commit=0" saves the default max
commit age in a variable when the fs is originally mounted, so that it can
later restore it.  Unfortunately it makes some mistakes with that:

- The default is not saved when the original mount has a commit=NNN option.

- The default is not correctly saved for older reiserfs filesystems, where
  the default was not stored on disk.

This patch fixes these mistakes.
fs/reiserfs/journal.c