diff options
Diffstat (limited to 'fs/xfs/xfs_error.c')
-rw-r--r-- | fs/xfs/xfs_error.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/fs/xfs/xfs_error.c b/fs/xfs/xfs_error.c index f227ecd1a294..92d5cd5bf4f2 100644 --- a/fs/xfs/xfs_error.c +++ b/fs/xfs/xfs_error.c | |||
@@ -153,21 +153,6 @@ xfs_errortag_clearall(xfs_mount_t *mp, int loud) | |||
153 | } | 153 | } |
154 | #endif /* DEBUG */ | 154 | #endif /* DEBUG */ |
155 | 155 | ||
156 | static void | ||
157 | xfs_fs_vcmn_err(int level, xfs_mount_t *mp, char *fmt, va_list ap) | ||
158 | { | ||
159 | if (mp != NULL) { | ||
160 | char *newfmt; | ||
161 | int len = 16 + mp->m_fsname_len + strlen(fmt); | ||
162 | |||
163 | newfmt = kmem_alloc(len, KM_SLEEP); | ||
164 | sprintf(newfmt, "Filesystem \"%s\": %s", mp->m_fsname, fmt); | ||
165 | icmn_err(level, newfmt, ap); | ||
166 | kmem_free(newfmt); | ||
167 | } else { | ||
168 | icmn_err(level, fmt, ap); | ||
169 | } | ||
170 | } | ||
171 | 156 | ||
172 | void | 157 | void |
173 | xfs_fs_cmn_err(int level, xfs_mount_t *mp, char *fmt, ...) | 158 | xfs_fs_cmn_err(int level, xfs_mount_t *mp, char *fmt, ...) |