Whamcloud - gitweb
libext2fs: Add ext2fs_file_size_size2() and truncate the file if necessary
authorTheodore Ts'o <tytso@mit.edu>
Thu, 22 Jul 2010 13:51:23 +0000 (09:51 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 30 Jul 2010 19:40:53 +0000 (15:40 -0400)
commit27a0e958e619c3ca105e575670416a964fa2678f
tree540884025cc84e3610a65f91aaaec8121f94d893
parent6dc058bd126ba2f631e38233d899f58a04e0c74f
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>
lib/ext2fs/ext2fs.h
lib/ext2fs/fileio.c