Re: [PATCH] export iov_shorten for ext4's use

2007-12-17 Thread Eric Sandeen
(And, take 2... follow the coding style on export declarations...) ext4 needs to deal with 2 different max file offsets for block- and extent-allocated file formats, whereas the s_maxbytes scheme can only deal with one. So, for block-allocated files, we must catch and fix up too-large offsets f

[PATCH] export iov_shorten for ext4's use

2007-12-14 Thread Eric Sandeen
ext4 needs to deal with 2 different max file offsets for block- and extent-allocated file formats, whereas the s_maxbytes scheme can only deal with one. So, for block-allocated files, we must catch and fix up too-large offsets from within the filesystem. Having iov_shorten exported allows such