commit | 1244cacc7093ef612b164ff35b2410a7fc3aefce | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Sun May 11 23:33:08 2014 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Tue May 13 10:13:40 2014 -0400 |
tree | bde285109cd431f5fb5140cff2b06308b968b5a9 | |
parent | 1c358e6e127b605d29e535e575994d3583a19c72 [diff] |
resize2fs: fix sanity check in reserve_sparse_super2_last_group() In reserve_sparse_super2_last_group, the old_desc check should only be performed if ext2fs_super_and_bgd_loc2() gave us a location -- a return value of 0 means that there is no old-style GDT block. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>