commit | 4690e621acd4579dae60b6f55f58284ee805e86d | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Wed Aug 27 21:46:26 2008 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Wed Aug 27 21:46:26 2008 -0400 |
tree | 89eba34ab7b6edc61c91ea9e26058d2fb47e02ab | |
parent | 75b5672f6f82f4946b4b3f20cfe69946b6cb8210 [diff] |
Improve future compatibility for the 64-bit I/O channel functions Provide a C language wrapper function for io_channel_read_blk64() and io_channel_write_blk64() instead of using a C preprocessor macro, with an fallback to the old 32-bit functions if an application-provided I/O channel manager doesn't supply 64-bit method functions and the block numbers can fit in 32-bit integer. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>