diff options
author | Abhijith Das <adas@redhat.com> | 2008-01-18 21:06:37 +0100 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2008-01-25 09:21:22 +0100 |
commit | 7bc5c414fe6627ec518c82d154c796f0981f5b02 (patch) | |
tree | affd4857934df6c86b6fde572de0370700e6fe9a /fs/gfs2/sys.c | |
parent | [GFS2] Lockup on error (diff) | |
download | linux-7bc5c414fe6627ec518c82d154c796f0981f5b02.tar.xz linux-7bc5c414fe6627ec518c82d154c796f0981f5b02.zip |
[GFS2] Allow journal recovery on read-only mount
This patch allows gfs2 to perform journal recovery even if it is mounted
read-only. Strictly speaking, a read-only mount should not be writing to
the filesystem, but we do this only to perform journal recovery. A
read-only mount will fail if we don't recover the dirty journal. Also,
when gfs2 is used as a root filesystem, it will be mounted read-only
before being mounted read-write during the boot sequence. A failed
read-only mount will panic the machine during bootup.
Signed-off-by: Abhijith Das <adas@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/sys.c')
0 files changed, 0 insertions, 0 deletions