summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/extent_map.h
diff options
context:
space:
mode:
authorTao Ma <tao.ma@oracle.com>2009-08-18 05:41:57 +0200
committerJoel Becker <joel.becker@oracle.com>2009-09-23 05:09:39 +0200
commit1061f9c1c9f81ed88b5d268a95d8e3ace80da63a (patch)
treede43d1c1122ade36f079f0381712bc0f06556ac5 /fs/ocfs2/extent_map.h
parentocfs2: handle file attributes issue for reflink. (diff)
downloadlinux-1061f9c1c9f81ed88b5d268a95d8e3ace80da63a.tar.xz
linux-1061f9c1c9f81ed88b5d268a95d8e3ace80da63a.zip
ocfs2: Return extent flags for xattr value tree.
With the new refcount tree, xattr value can also be refcounted among multiple files. So return the appropriate extent flags so that CoW can used it later. Signed-off-by: Tao Ma <tao.ma@oracle.com>
Diffstat (limited to 'fs/ocfs2/extent_map.h')
-rw-r--r--fs/ocfs2/extent_map.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ocfs2/extent_map.h b/fs/ocfs2/extent_map.h
index 9942f47efda7..e79d41c2c909 100644
--- a/fs/ocfs2/extent_map.h
+++ b/fs/ocfs2/extent_map.h
@@ -55,7 +55,8 @@ int ocfs2_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo,
int ocfs2_xattr_get_clusters(struct inode *inode, u32 v_cluster,
u32 *p_cluster, u32 *num_clusters,
- struct ocfs2_extent_list *el);
+ struct ocfs2_extent_list *el,
+ unsigned int *extent_flags);
int ocfs2_read_virt_blocks(struct inode *inode, u64 v_block, int nr,
struct buffer_head *bhs[], int flags,