CVS log for linux-2.6-xfs/fs/xfs/xfs_log_recover.c

[BACK] Up to [Development] / linux-2.6-xfs / fs / xfs

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: HEAD


Revision 1.355 / (download) - annotate - [select for diffs], Fri Oct 17 03:01:13 2008 UTC (9 years ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.354: +7 -1 lines
Diff to previous 1.354 (colored)

XFS: Check for valid transaction headers in recovery

When we are about to add a new item to a transaction in recovery, we
need to check that it is valid first. Currently we just assert that
header magic number matches, but in production systems that is not
present and we add a corrupted transaction to the list to be
processed. This results in a kernel oops later when processing the
corrupted transaction.

Instead, if we detect a corrupted transaction, abort recovery and
leave the user to clean up the mess that has occurred.

Signed-off-by: Dave Chinner <david@fromorbit.com>
Merge of xfs-linux-melb:xfs-kern:32356a by kenmcd.

  check for valid trans headers in recovery

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>