Date: Thu, 14 Jul 2011 18:06:13 +0000 (UTC) From: Kirk McKusick <mckusick@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/ufs/ffs ffs_softdep.c Message-ID: <201107141806.p6EI6RDC026752@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mckusick 2011-07-14 18:06:13 UTC
FreeBSD src repository
Modified files:
sys/ufs/ffs ffs_softdep.c
Log:
SVN rev 224027 on 2011-07-14 18:06:13Z by mckusick
Consistently check mount flag (MNTK_SUJ) rather than superblock
flag (FS_SUJ) when determining whether to do journaling-based
operations. The mount flag is set only when journaling is active
while the superblock flag is set to indicate that journaling is to
be used. For example, when the filesystem is mounted read-only, the
journaling may be present (FS_SUJ) but not active (MNTK_SUJ).
Inappropriate checking of the FS_SUJ flag was causing some
journaling actions to be attempted at inappropriate times.
Revision Changes Path
1.286 +2 -2 src/sys/ufs/ffs/ffs_softdep.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107141806.p6EI6RDC026752>
