]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
ext2fs: Use 64bit lseek when _FILE_OFFSET_BITS is 64
authorKhem Raj <raj.khem@gmail.com>
Thu, 15 Dec 2022 04:56:44 +0000 (20:56 -0800)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 1 Feb 2023 16:21:40 +0000 (11:21 -0500)
commit674d844c52cba11a5a80cb864161b97f1529fe5c
tree70e055b689c1bef7deb56e1585e987078fa7ad6e
parenta22e7f16d0f4b894e8408cf21990c89b12064a25
ext2fs: Use 64bit lseek when _FILE_OFFSET_BITS is 64

Use lseek() with 64bit off_t when _FILE_OFFSET_BITS is 64
this fixes build with musl where there is no _llseek but lseek
is using off_t which is 64bit on musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/llseek.c