Whamcloud - gitweb
libext2fs: chage ext2_off_t and ext2_off64_t to be signed types
authorTheodore Ts'o <tytso@mit.edu>
Wed, 1 Jan 2020 00:00:49 +0000 (19:00 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 1 Jan 2020 18:41:35 +0000 (13:41 -0500)
commit1d4074f3ed3da1fde3b6bbbfa744ab92823886df
tree5d090f65d7888aeb03f8eacd94f85cbcedbe6555
parent193cf9be4bed56e47797baa1774cc81d7d76e242
libext2fs: chage ext2_off_t and ext2_off64_t to be signed types

The ext2_off_t and ext2_off64_t types are used by ext2_file_lseek()
and ext2_file_llseek(), and they need to be signed so that it can be a
negative offset from the end of the file when EXT2_SEEK_END is used.

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