]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit7e6ef8aee13983d325b7efce6fdb32f88ed42b62
treea2d9a2e047ff4cb5a9f7123084a00b2c3ecc23fa
parent8c602350e13ba36f0cfc5af5868638b3ba25ce17
[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