libext2fs: Add ext2fs_file_size_size2() and truncate the file if necessary

This adds a 64-bit interface for ext2fs_file_size_size() and enhances
it to trunate the file if necessary.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2 files changed