commit | 0851517daa6f11f7bc6b63a82deef7f4561ee3c7 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Mon Sep 09 10:40:36 2013 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Mon Sep 09 10:40:48 2013 -0400 |
tree | a4d98dfad0afde640b55d3e1b8df1e5f00642cc2 | |
parent | 816d2c9cf7fb17fe808a081e076cb558f44ec30d [diff] |
resize2fs: use blk64_t and location getters for free_gdp_blocks() free_gdp_blocks needs to be taught to use 64-bit fields and the appropriate getters, otherwise it'll truncate high block numbers (when, say, resizing a >16T fs) and mark the low numbered group descriptor blocks as free. Yikes. Reported-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>