aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/locks.c
diff options
context:
space:
mode:
authorTao Ma <tao.ma@oracle.com>2009-08-22 11:54:27 -0400
committerJoel Becker <joel.becker@oracle.com>2009-09-22 23:09:38 -0400
commit110a045aca62f6f564e3b68f89af2a3a5a6ecff2 (patch)
treed7c2df9a59e527eb14add4daf1c0107e486715f4 /fs/ocfs2/locks.c
parent37f8a2bfaa8364dd3644cccee8824bb8f5e409a5 (diff)
ocfs2: Add normal functions for reflink a normal file's extents.
2 major functions are added in this patch. ocfs2_attach_refcount_tree will create a new refcount tree to the old file if it doesn't have one and insert all the extent records to the tree if they are not refcounted. ocfs2_create_reflink_node will: 1. set the refcount tree to the new file. 2. call ocfs2_duplicate_extent_list which will iterate all the extents for the old file, insert it to the new file and increase the corresponding referennce count. Signed-off-by: Tao Ma <tao.ma@oracle.com>
Diffstat (limited to 'fs/ocfs2/locks.c')
0 files changed, 0 insertions, 0 deletions