]> git.baikalelectronics.ru Git - kernel.git/commit
fs/ufs: recognize Solaris-specific file system state
authorAlex Viskovatoff <viskovatoff@imap.cc>
Wed, 10 Mar 2010 23:21:53 +0000 (15:21 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 12 Mar 2010 23:52:35 +0000 (15:52 -0800)
commit20527eede0d05dbe5d66e14fdc83d04d209611b4
tree49d3fdda17a8c27f28a446112d9fc066ce11e43d
parent9492734489813cf0474500e0727998eea89d1e41
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>
fs/ufs/super.c
fs/ufs/ufs_fs.h