]> git.baikalelectronics.ru Git - kernel.git/commit
[XFS] Remove bogus assert
authorNiv Sardi <xaiki@sgi.com>
Tue, 27 Nov 2007 06:01:13 +0000 (17:01 +1100)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Thu, 7 Feb 2008 07:17:39 +0000 (18:17 +1100)
commitb4898314651d7d8b3336d9669790a76c74eb35ca
tree74617d978c7ea61ef147491ecaeb135c3c563805
parent4897daa28c6082b133ace52b0b2de9a61622c083
[XFS] Remove bogus assert

This assert is bogus. We can have a forced shutdown occur
between the check for the XLOG_FORCED_SHUTDOWN and the ASSERT. Also, the
logging system shouldn't care about the state of XFS_FORCED_SHUTDOWN, it
should only check XLOG_FORCED_SHUTDOWN. The logging system has it's own
forced shutdown flag so, for the case of a forced shutdown that's not due
to a logging error, we can flush the log.

SGI-PV: 972985
SGI-Modid: xfs-linux-melb:xfs-kern:30029a

Signed-off-by: Niv Sardi <xaiki@sgi.com>
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
fs/xfs/xfs_log.c