]> git.baikalelectronics.ru Git - kernel.git/commit
ocfs2: duplicate inline data properly during reflink.
authorTao Ma <tao.ma@oracle.com>
Thu, 15 Oct 2009 03:10:49 +0000 (11:10 +0800)
committerJoel Becker <joel.becker@oracle.com>
Thu, 29 Oct 2009 05:48:23 +0000 (22:48 -0700)
commitb8f3aa9f7f74ff3341955f20d252776cfad4ad02
tree87c77763eefb395dc25010ce989d4d704615225d
parent41f51f89d4e236da28d7458b3b9ceb7e615bcd8c
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