commit | 2b7a30cc52fd27a1cf479d8682880d11ffd9850f | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Fri Feb 17 09:19:33 2012 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Fri Feb 17 15:28:20 2012 -0500 |
tree | 69b8ac1a9740264e37b22d912eec35aaea0d629c | |
parent | ba9e0afc5ab0d0ff26880e37ac71c281b644ce00 [diff] |
e2image: fix logic bug which could cause a raw image not to be extended If the size of the last "hole" in the raw file was an exact multiple of a megabyte, then we wouldn't write a null at the end of the file in order to extend the size of the raw image to correspond with the file system size. Thanks to Lukas Czerner for suggesting the fix, and Phillip Susi for pointing out the problem. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>