Re: [PATCH] xfsprogs: skip freelist scans of corrupt agf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs


[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux