ocfs2: duplicate inline data properly during reflink.
commit2f48d593b6ceb7bb63d34124ceba77d33be298cf
authorTao Ma <tao.ma@oracle.com>
Thu, 15 Oct 2009 03:10:49 +0000 (15 11:10 +0800)
committerJoel Becker <joel.becker@oracle.com>
Thu, 29 Oct 2009 05:48:23 +0000 (28 22:48 -0700)
tree87c77763eefb395dc25010ce989d4d704615225d
parent87f4b1bb98696e6cf84f57df7de41f28c2a7dbeb
ocfs2: duplicate inline data properly during reflink.

The old reflink fails to handle inodes with inline data and will oops
if it encounters them.  This patch copies inline data to the new inode.
Extended attributes may still be refcounted.

Signed-off-by: Tao Ma <tao.ma@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Tested-by: Tristan Ye <tristan.ye@oracle.com>
fs/ocfs2/file.c
fs/ocfs2/refcounttree.c