![]() | |||||||||||
Messages in this thread
Patch in this message |
From: Eric Sandeen <sandeen@redhat.com> Export iov_shorten() from kernel so that ext4 can truncate too-large writes to bitmapped files. Signed-off-by: Eric Sandeen <sandeen@redhat.com> --- 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 ea1f94c..dfaee3f 100644 --- a/fs/read_write.c +++ b/fs/read_write.c @@ -450,6 +450,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) -- 1.5.4.rc3.31.g1271-dirty | ||||||||||
| Last update: 2008-01-22 04:15 [from the cache] ©2003-2008 | |||||||||||