]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
resize2fs: fix sanity check in reserve_sparse_super2_last_group()
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 12 May 2014 03:33:08 +0000 (23:33 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 13 May 2014 14:13:40 +0000 (10:13 -0400)
commit1244cacc7093ef612b164ff35b2410a7fc3aefce
treebde285109cd431f5fb5140cff2b06308b968b5a9
parent1c358e6e127b605d29e535e575994d3583a19c72
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>
resize/resize2fs.c