diff options
author | Nathan Scott <nathans@sgi.com> | 2005-11-01 19:44:33 -0500 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2005-11-01 19:44:33 -0500 |
commit | fc1f8c1ca373dc88dd6e8c0e8b7de0e6ad95d441 (patch) | |
tree | e49b7a364bf6a6fc18e650b3a6e10b516c1ba547 /fs/xfs/xfs_log.c | |
parent | 4aeb664c2561c0bae18d7a3a141d7d2acf126da1 (diff) |
[XFS] Track external log/realtime device names for correct reporting in
/proc/mounts.
SGI-PV: 942984
SGI-Modid: xfs-linux:xfs-kern:23862a
Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_log.c')
-rw-r--r-- | fs/xfs/xfs_log.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/xfs/xfs_log.c b/fs/xfs/xfs_log.c index b9d3ad35240e..fcde2a2fc457 100644 --- a/fs/xfs/xfs_log.c +++ b/fs/xfs/xfs_log.c | |||
@@ -483,7 +483,8 @@ xfs_log_mount(xfs_mount_t *mp, | |||
483 | 483 | ||
484 | #if defined(DEBUG) || defined(XLOG_NOLOG) | 484 | #if defined(DEBUG) || defined(XLOG_NOLOG) |
485 | if (!xlog_debug) { | 485 | if (!xlog_debug) { |
486 | cmn_err(CE_NOTE, "log dev: %s", XFS_BUFTARG_NAME(log_target)); | 486 | cmn_err(CE_NOTE, "logdev: %s", mp->m_logname ? |
487 | mp->m_logname : "internal"); | ||
487 | return 0; | 488 | return 0; |
488 | } | 489 | } |
489 | #endif | 490 | #endif |