summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/xattr.h
diff options
context:
space:
mode:
authorTao Ma2009-08-18 05:43:55 +0200
committerJoel Becker2009-09-23 05:09:45 +0200
commit2999d12f4d5529b282ce201b21444590c3f9f723 (patch)
tree9500f897753a59cf47e66af2cb7fd56c05ec8c1c /fs/ocfs2/xattr.h
parentocfs2: Create an xattr indexed block if needed. (diff)
downloadkernel-qcow2-linux-2999d12f4d5529b282ce201b21444590c3f9f723.tar.gz
kernel-qcow2-linux-2999d12f4d5529b282ce201b21444590c3f9f723.tar.xz
kernel-qcow2-linux-2999d12f4d5529b282ce201b21444590c3f9f723.zip
ocfs2: Add reflink support for xattr.
Signed-off-by: Tao Ma <tao.ma@oracle.com>
Diffstat (limited to 'fs/ocfs2/xattr.h')
-rw-r--r--fs/ocfs2/xattr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/ocfs2/xattr.h b/fs/ocfs2/xattr.h
index e74703f56dca..4f913053d5ee 100644
--- a/fs/ocfs2/xattr.h
+++ b/fs/ocfs2/xattr.h
@@ -90,4 +90,8 @@ int ocfs2_xattr_attach_refcount_tree(struct inode *inode,
struct ocfs2_caching_info *ref_ci,
struct buffer_head *ref_root_bh,
struct ocfs2_cached_dealloc_ctxt *dealloc);
+int ocfs2_reflink_xattrs(struct inode *old_inode,
+ struct buffer_head *old_bh,
+ struct inode *new_inode,
+ struct buffer_head *new_bh);
#endif /* OCFS2_XATTR_H */