summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/alloc.h
diff options
context:
space:
mode:
authorTao Ma <tao.ma@oracle.com>2010-12-23 15:30:44 +0800
committerJoel Becker <joel.becker@oracle.com>2011-01-07 18:03:00 -0800
commitaecf58661961a553c254cf14536f70349127affb (patch)
tree13817998b41e1871ba80c20f50a789004ab697a6 /fs/ocfs2/alloc.h
parentcc548166b2aadba7a566fb0a42884a9d2ff684b0 (diff)
downloadblackbird-obmc-linux-aecf58661961a553c254cf14536f70349127affb.tar.gz
blackbird-obmc-linux-aecf58661961a553c254cf14536f70349127affb.zip
ocfs2: Remove unused truncate function from alloc.c
Tristan Ye has done some refactoring against our truncate process, so some functions like ocfs2_prepare_truncate and ocfs2_free_truncate_context are no use and we'd better remove them. Signed-off-by: Tao Ma <tao.ma@oracle.com> Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'fs/ocfs2/alloc.h')
-rw-r--r--fs/ocfs2/alloc.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/ocfs2/alloc.h b/fs/ocfs2/alloc.h
index 55762b554b99..3bd08a03251c 100644
--- a/fs/ocfs2/alloc.h
+++ b/fs/ocfs2/alloc.h
@@ -228,10 +228,6 @@ struct ocfs2_truncate_context {
int ocfs2_zero_range_for_truncate(struct inode *inode, handle_t *handle,
u64 range_start, u64 range_end);
-int ocfs2_prepare_truncate(struct ocfs2_super *osb,
- struct inode *inode,
- struct buffer_head *fe_bh,
- struct ocfs2_truncate_context **tc);
int ocfs2_commit_truncate(struct ocfs2_super *osb,
struct inode *inode,
struct buffer_head *di_bh);
OpenPOWER on IntegriCloud