diff options
author | Nathan Scott <nathans@sgi.com> | 2005-11-02 11:44:33 +1100 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2005-11-02 11:44:33 +1100 |
commit | fc1f8c1ca373dc88dd6e8c0e8b7de0e6ad95d441 (patch) | |
tree | e49b7a364bf6a6fc18e650b3a6e10b516c1ba547 /fs/xfs/xfs_log.c | |
parent | 4aeb664c2561c0bae18d7a3a141d7d2acf126da1 (diff) | |
download | lwn-fc1f8c1ca373dc88dd6e8c0e8b7de0e6ad95d441.tar.gz lwn-fc1f8c1ca373dc88dd6e8c0e8b7de0e6ad95d441.zip |
[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, #if defined(DEBUG) || defined(XLOG_NOLOG) if (!xlog_debug) { - cmn_err(CE_NOTE, "log dev: %s", XFS_BUFTARG_NAME(log_target)); + cmn_err(CE_NOTE, "logdev: %s", mp->m_logname ? + mp->m_logname : "internal"); return 0; } #endif |