diff options
author | Dmitri Vorobiev <dmitri.vorobiev@movial.com> | 2009-03-31 00:41:20 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2009-04-01 07:38:54 -0400 |
commit | ced117c73edc917e96dea7cca98c91383f0792f7 (patch) | |
tree | d37babf1b56db8d6820e136c1daa8281553025a0 /include | |
parent | 47e4491b40df73c3b117e3d80b31b5b512a4b19f (diff) | |
download | linux-ced117c73edc917e96dea7cca98c91383f0792f7.tar.gz linux-ced117c73edc917e96dea7cca98c91383f0792f7.tar.bz2 linux-ced117c73edc917e96dea7cca98c91383f0792f7.zip |
Remove two unneeded exports and make two symbols static in fs/mpage.c
Commit 29a814d2ee0e43c2980f33f91c1311ec06c0aa35 (vfs: add hooks for
ext4's delayed allocation support) exported the following functions
mpage_bio_submit()
__mpage_writepage()
for the benefit of ext4's delayed allocation support. Since commit
a1d6cc563bfdf1bf2829d3e6ce4d8b774251796b (ext4: Rework the
ext4_da_writepages() function), these functions are not used by the
ext4 driver anymore. However, the now unnecessary exports still
remain, and this patch removes those. Moreover, these two functions
can become static again.
The issue was spotted by namespacecheck.
Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.com>
Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mpage.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/mpage.h b/include/linux/mpage.h index 5c42821da2d1..068a0c9946af 100644 --- a/include/linux/mpage.h +++ b/include/linux/mpage.h @@ -11,21 +11,11 @@ */ #ifdef CONFIG_BLOCK -struct mpage_data { - struct bio *bio; - sector_t last_block_in_bio; - get_block_t *get_block; - unsigned use_writepage; -}; - struct writeback_control; -struct bio *mpage_bio_submit(int rw, struct bio *bio); int mpage_readpages(struct address_space *mapping, struct list_head *pages, unsigned nr_pages, get_block_t get_block); int mpage_readpage(struct page *page, get_block_t get_block); -int __mpage_writepage(struct page *page, struct writeback_control *wbc, - void *data); int mpage_writepages(struct address_space *mapping, struct writeback_control *wbc, get_block_t get_block); int mpage_writepage(struct page *page, get_block_t *get_block, |