]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitb3a0fd4d877fe7692901b5867ba7cbd3f6d19d22
tree49d3fdda17a8c27f28a446112d9fc066ce11e43d
parentd7d4d849b4e3acc405ec222884936800ffb26d48
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