summaryrefslogtreecommitdiffstats
path: root/fs/ufs/super.c
diff options
context:
space:
mode:
authorAlex Viskovatoff <viskovatoff@imap.cc>2010-03-11 00:21:53 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2010-03-13 00:52:35 +0100
commitb3a0fd4d877fe7692901b5867ba7cbd3f6d19d22 (patch)
tree49d3fdda17a8c27f28a446112d9fc066ce11e43d /fs/ufs/super.c
parentdrivers/char/mem.c: cleanups (diff)
downloadlinux-b3a0fd4d877fe7692901b5867ba7cbd3f6d19d22.tar.xz
linux-b3a0fd4d877fe7692901b5867ba7cbd3f6d19d22.zip
fs/ufs: recognize Solaris-specific file system state
Recent releases of Solaris set the fs_clean state of an unmounted UFS file system as FSLOG ("logging fs"). However, the Linux kernel currently does not recognize the value which represents this state. Thus, attempting to mount such a file system rw produces the message kernel: ufs_read_super: can't grok fs_clean 0xfffffffd and the file system is mounted read-only. This patch makes the kernel recognize that value. Signed-off-by: Alex Viskovatoff <viskovatoff@imap.cc> Cc: Evgeniy Dushistov <dushistov@mail.ru> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ufs/super.c')
-rw-r--r--fs/ufs/super.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/ufs/super.c b/fs/ufs/super.c
index 66b63a751615..14743d935a93 100644
--- a/fs/ufs/super.c
+++ b/fs/ufs/super.c
@@ -1016,6 +1016,9 @@ magic_found:
case UFS_FSSTABLE:
UFSD("fs is stable\n");
break;
+ case UFS_FSLOG:
+ UFSD("fs is logging fs\n");
+ break;
case UFS_FSOSF1:
UFSD("fs is DEC OSF/1\n");
break;