[PATCH] hfsplus: don't modify journaled volume
authorRoman Zippel <zippel@linux-m68k.org>
Wed, 30 Nov 2005 03:34:41 +0000 (19:34 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 30 Nov 2005 03:47:03 +0000 (19:47 -0800)
commitb0b623c3b22d57d6941b200321779d56c4e79e6b
treea2d9a2e047ff4cb5a9f7123084a00b2c3ecc23fa
parent576f6d79564d0d2c1f43088e6805674d2e122935
[PATCH] hfsplus: don't modify journaled volume

Access to a journaled HFS+ volume is not officially supported under Linux, so
mount such a volume read-only, but users can override this behaviour using the
"force" mount option.

The minimum requirement to relax this check is to at least check that the
journal is empty and so nothing needs to be replayed to make sure the volume
is consistent.

Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/hfsplus/hfsplus_fs.h
fs/hfsplus/hfsplus_raw.h
fs/hfsplus/options.c
fs/hfsplus/super.c