[PATCH 3/6] repair: handle directory block corruption in phase 6
Christoph Hellwig
hch at infradead.org
Fri Jul 4 09:24:22 CDT 2014
> @@ -2179,7 +2179,7 @@ longform_dir2_entry_check(xfs_mount_t *mp,
> freetab = malloc(FREETAB_SIZE(ip->i_d.di_size / mp->m_dirblksize));
> if (!freetab) {
> do_error(
> - _("malloc failed in longform_dir2_entry_check (%" PRId64 " bytes)\n"),
> +_("malloc failed in longform_dir2_entry_check (%" PRId64 " bytes)\n"),
Use __func__ to make this both more readable and future proof (same for
the other error message).
Otherwise looks good,
Reviewed-by: Christoph Hellwig <hch at lst.de>
More information about the xfs
mailing list