Whamcloud - gitweb
libext2fs: fix Large File Support bug in ext2fs_image_inode_write()
authorTheodore Ts'o <tytso@mit.edu>
Tue, 22 Aug 2017 21:09:31 +0000 (17:09 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 22 Aug 2017 21:09:31 +0000 (17:09 -0400)
commit6ca38e8c7dbc4b443602eae2781701b40c90edaf
treea42fff27dec9c2f72cf6cf80f830465ca106885d
parent8dafa282e66b2a77b3a7edf57775a8f90619e62c
libext2fs: fix Large File Support bug in ext2fs_image_inode_write()

We were using lseek() instead of ext2fs_llseek().  This caused e2image
to fail when writing an old-style e2image file if it was larger than
2 GiB.

Addresses-Debian-Bug: #855246

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/imager.c