aboutsummaryrefslogtreecommitdiff
path: root/fs/ocfs2/refcounttree.h
diff options
context:
space:
mode:
authorGravatar Tao Ma <tao.ma@oracle.com> 2010-08-12 10:36:38 +0800
committerGravatar Tao Ma <tao.ma@oracle.com> 2010-08-12 10:39:57 +0800
commit155027121fe52f9b4f25e9d156c22f2f5012e5fe (patch)
tree74067d52b685ab314173e74cc85a43a5d9e20c7d /fs/ocfs2/refcounttree.h
parentocfs2: pass struct file* to ocfs2_prepare_inode_for_write. (diff)
downloadlinux-155027121fe52f9b4f25e9d156c22f2f5012e5fe.tar.gz
linux-155027121fe52f9b4f25e9d156c22f2f5012e5fe.tar.bz2
linux-155027121fe52f9b4f25e9d156c22f2f5012e5fe.zip
ocfs2: Add struct file to ocfs2_refcount_cow.
Add a new parameter 'struct file *' to ocfs2_refcount_cow so that we can add readahead support later. Signed-off-by: Tao Ma <tao.ma@oracle.com>
Diffstat (limited to 'fs/ocfs2/refcounttree.h')
-rw-r--r--fs/ocfs2/refcounttree.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ocfs2/refcounttree.h b/fs/ocfs2/refcounttree.h
index 9983ba1570e2..29cba0eaa927 100644
--- a/fs/ocfs2/refcounttree.h
+++ b/fs/ocfs2/refcounttree.h
@@ -52,7 +52,8 @@ int ocfs2_prepare_refcount_change_for_del(struct inode *inode,
u32 clusters,
int *credits,
int *ref_blocks);
-int ocfs2_refcount_cow(struct inode *inode, struct buffer_head *di_bh,
+int ocfs2_refcount_cow(struct inode *inode,
+ struct file *filep, struct buffer_head *di_bh,
u32 cpos, u32 write_len, u32 max_cpos);
typedef int (ocfs2_post_refcount_func)(struct inode *inode,