summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/refcounttree.h
diff options
context:
space:
mode:
authorTao Ma <tao.ma@oracle.com>2009-08-18 11:43:55 +0800
committerJoel Becker <joel.becker@oracle.com>2009-09-22 20:09:45 -0700
commit2999d12f4d5529b282ce201b21444590c3f9f723 (patch)
tree9500f897753a59cf47e66af2cb7fd56c05ec8c1c /fs/ocfs2/refcounttree.h
parenta7fe7a3a1ab5dac8d81e531c060f51e12010133b (diff)
downloadop-kernel-dev-2999d12f4d5529b282ce201b21444590c3f9f723.zip
op-kernel-dev-2999d12f4d5529b282ce201b21444590c3f9f723.tar.gz
ocfs2: Add reflink support for xattr.
Signed-off-by: Tao Ma <tao.ma@oracle.com>
Diffstat (limited to 'fs/ocfs2/refcounttree.h')
-rw-r--r--fs/ocfs2/refcounttree.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/ocfs2/refcounttree.h b/fs/ocfs2/refcounttree.h
index 1e3446a..2c238e6 100644
--- a/fs/ocfs2/refcounttree.h
+++ b/fs/ocfs2/refcounttree.h
@@ -93,4 +93,10 @@ int ocfs2_add_refcount_flag(struct inode *inode,
int ocfs2_remove_refcount_tree(struct inode *inode, struct buffer_head *di_bh);
int ocfs2_try_remove_refcount_tree(struct inode *inode,
struct buffer_head *di_bh);
+int ocfs2_increase_refcount(handle_t *handle,
+ struct ocfs2_caching_info *ci,
+ struct buffer_head *ref_root_bh,
+ u64 cpos, u32 len,
+ struct ocfs2_alloc_context *meta_ac,
+ struct ocfs2_cached_dealloc_ctxt *dealloc);
#endif /* OCFS2_REFCOUNTTREE_H */
OpenPOWER on IntegriCloud