Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=19295529db35381d46dbaf246f69b4e3b3393996 Commit: 19295529db35381d46dbaf246f69b4e3b3393996 Parent: cd2291a463c26f60b18e0d9b1901be236dd7f402 Author: Eric Sandeen <[EMAIL PROTECTED]> AuthorDate: Mon Jan 28 23:58:27 2008 -0500 Committer: Theodore Ts'o <[EMAIL PROTECTED]> CommitDate: Mon Jan 28 23:58:27 2008 -0500
ext4: export iov_shorten from kernel for ext4's use Export iov_shorten() from kernel so that ext4 can truncate too-large writes to bitmapped files. Signed-off-by: Eric Sandeen <[EMAIL PROTECTED]> --- fs/read_write.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/fs/read_write.c b/fs/read_write.c index c4d3d17..1c177f2 100644 --- a/fs/read_write.c +++ b/fs/read_write.c @@ -446,6 +446,7 @@ unsigned long iov_shorten(struct iovec *iov, unsigned long nr_segs, size_t to) } return seg; } +EXPORT_SYMBOL(iov_shorten); ssize_t do_sync_readv_writev(struct file *filp, const struct iovec *iov, unsigned long nr_segs, size_t len, loff_t *ppos, iov_fn_t fn) - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html