commit | 9d10f017e2420119455f5fa46db698961786e578 | [log] [tgz] |
---|---|---|
author | Lukas Czerner <lczerner@redhat.com> | Wed Sep 14 13:27:44 2011 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Wed Sep 14 13:49:04 2011 -0400 |
tree | ea715e3c7e22595635e7b1ca1fe8da21e41bff63 | |
parent | 449c87a49cdc59271eb24ad3ecd6e7857b99a160 [diff] |
e2image: fix invalid lseek error detection In flush_l2_cache() we are using ext2fs_llseek() however we do not properly detect the error code returned from the function, because we are assigning it into ULL variable, hence we will not see negative values. Fix this by changing the type of the variable to ext2_loff_t which is signed and hence will store negative values. Signed-off-by: Lukas Czerner <lczerner@redhat.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>