aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/ocfs2/extent_map.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ocfs2/extent_map.c b/fs/ocfs2/extent_map.c
index 843db64e9d4a..cdce5f8c1cfa 100644
--- a/fs/ocfs2/extent_map.c
+++ b/fs/ocfs2/extent_map.c
@@ -786,6 +786,8 @@ int ocfs2_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo,
786 fe_flags = 0; 786 fe_flags = 0;
787 if (rec.e_flags & OCFS2_EXT_UNWRITTEN) 787 if (rec.e_flags & OCFS2_EXT_UNWRITTEN)
788 fe_flags |= FIEMAP_EXTENT_UNWRITTEN; 788 fe_flags |= FIEMAP_EXTENT_UNWRITTEN;
789 if (rec.e_flags & OCFS2_EXT_REFCOUNTED)
790 fe_flags |= FIEMAP_EXTENT_SHARED;
789 if (is_last) 791 if (is_last)
790 fe_flags |= FIEMAP_EXTENT_LAST; 792 fe_flags |= FIEMAP_EXTENT_LAST;
791 len_bytes = (u64)le16_to_cpu(rec.e_leaf_clusters) << osb->s_clustersize_bits; 793 len_bytes = (u64)le16_to_cpu(rec.e_leaf_clusters) << osb->s_clustersize_bits;