diff options
author | Niv Sardi <xaiki@sgi.com> | 2007-11-27 01:01:13 -0500 |
---|---|---|
committer | Lachlan McIlroy <lachlan@redback.melbourne.sgi.com> | 2008-02-07 02:17:39 -0500 |
commit | f7b7c3673e6e225de337abe00e14dc048e44782b (patch) | |
tree | 74617d978c7ea61ef147491ecaeb135c3c563805 /fs/xfs/xfs_log.c | |
parent | 71ddabb94a623d1e16e7e66898bf439ff78ecc41 (diff) |
[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>
Diffstat (limited to 'fs/xfs/xfs_log.c')
-rw-r--r-- | fs/xfs/xfs_log.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/xfs/xfs_log.c b/fs/xfs/xfs_log.c index 301a6b8c2034..7ed15bdc32bf 100644 --- a/fs/xfs/xfs_log.c +++ b/fs/xfs/xfs_log.c | |||
@@ -764,7 +764,6 @@ xfs_log_move_tail(xfs_mount_t *mp, | |||
764 | 764 | ||
765 | if (XLOG_FORCED_SHUTDOWN(log)) | 765 | if (XLOG_FORCED_SHUTDOWN(log)) |
766 | return; | 766 | return; |
767 | ASSERT(!XFS_FORCED_SHUTDOWN(mp)); | ||
768 | 767 | ||
769 | if (tail_lsn == 0) { | 768 | if (tail_lsn == 0) { |
770 | /* needed since sync_lsn is 64 bits */ | 769 | /* needed since sync_lsn is 64 bits */ |