summaryrefslogtreecommitdiffstats
path: root/fs/ext4/ext4.h
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew.r.wilcox@intel.com>2014-03-24 15:09:16 -0400
committerTheodore Ts'o <tytso@mit.edu>2014-03-24 15:09:16 -0400
commit94350ab5c34166f08ef67aaca3a01e6b420891c9 (patch)
treea36a7cbfeb049f7f3426a44347c527810fe74b9a /fs/ext4/ext4.h
parent5f16f3225b06242a9ee876f07c1c9b6ed36a22b6 (diff)
downloadop-kernel-dev-94350ab5c34166f08ef67aaca3a01e6b420891c9.zip
op-kernel-dev-94350ab5c34166f08ef67aaca3a01e6b420891c9.tar.gz
ext4: make ext4_block_zero_page_range static
It's only called within inode.c, so make it static, remove its prototype from ext4.h and move it above all of its callers so it doesn't need a prototype within inode.c. Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ext4.h')
-rw-r--r--fs/ext4/ext4.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
index e01135d..f1c65dc 100644
--- a/fs/ext4/ext4.h
+++ b/fs/ext4/ext4.h
@@ -2139,8 +2139,6 @@ extern int ext4_writepage_trans_blocks(struct inode *);
extern int ext4_chunk_trans_blocks(struct inode *, int nrblocks);
extern int ext4_block_truncate_page(handle_t *handle,
struct address_space *mapping, loff_t from);
-extern int ext4_block_zero_page_range(handle_t *handle,
- struct address_space *mapping, loff_t from, loff_t length);
extern int ext4_zero_partial_blocks(handle_t *handle, struct inode *inode,
loff_t lstart, loff_t lend);
extern int ext4_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf);
OpenPOWER on IntegriCloud