| To: | Eric Sandeen <sandeen@xxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] xfsprogs: skip freelist scans of corrupt agf |
| From: | Rich Johnston <rjohnston@xxxxxxx> |
| Date: | Mon, 11 Mar 2013 07:16:37 -0500 |
| Cc: | xfs-oss <xfs@xxxxxxxxxxx> |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <513B5393.4000203@xxxxxxxxxxx> |
| References: | <513B5393.4000203@xxxxxxxxxxx> |
| User-agent: | Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 |
This has been commited.
Thanks
--Rich
commit a529cc7f0e5bd1632e5169d015c54e3a6122ee0f
Author: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Sat Mar 9 15:21:55 2013 +0000
xfsprogs: skip freelist scans of corrupt agf
If an agf has bad values in the freelist, this can wreak
havoc if, for example, first > last and the loop
never exits; we index agfl->agfl_bno[i] off into the weeds.
If they're off, warn about it and skip the scan.
This is done both in xfs_check and xfs_db's freespace cmd.
Also fix uninit'd variable "i" from previous, similar fix
for xfs_repair.
Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxx>
Reviewed-by: Dave Chinner <dchinner@xxxxxxxxxx>
Signed-off-by: Rich Johnston <rjohnston@xxxxxxx>
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Maximum file system size of XFS?, Stan Hoeppner |
|---|---|
| Next by Date: | Re: [PATCH V2] xfs_repair: skip freelist scan of corrupt agf in no-modify mode, Rich Johnston |
| Previous by Thread: | Re: [PATCH] xfsprogs: skip freelist scans of corrupt agf, Dave Chinner |
| Next by Thread: | Re: xfstests: 297: simple sparse copy testcase for btrfs, Eric Sandeen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |