projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd2291a
)
ext4: export iov_shorten from kernel for ext4's use
author
Eric Sandeen
<sandeen@redhat.com>
Tue, 29 Jan 2008 04:58:27 +0000
(23:58 -0500)
committer
Theodore Ts'o
<tytso@mit.edu>
Tue, 29 Jan 2008 04:58:27 +0000
(23:58 -0500)
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
patch
|
blob
|
history
diff --git
a/fs/read_write.c
b/fs/read_write.c
index c4d3d17923f155004fec85fd04f836a06aa585f3..1c177f29e1b72be0aa63f38496ed81727d01f653 100644
(file)
--- 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)