From 5560f1dd4701f70e1a8eac81b2f4e337dfc842c9 Mon Sep 17 00:00:00 2001 From: Tao Ma Date: Wed, 10 Mar 2010 09:56:52 +0800 Subject: [PATCH] --- yaml --- r: 189223 b: refs/heads/master c: 6527f8f848ec84b9daf1cb07601266126b8507ab h: refs/heads/master i: 189221: 7f87addb65b89ea6a939795d5c443dc8a5476a7f 189219: b74d8bffdbcc8963d56b08faf31fcbfce7854514 189215: 23b758e1e02b372bf3c7e5a8e40584fdacf07b62 v: v3 --- [refs] | 2 +- trunk/fs/ocfs2/refcounttree.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 1bc1d40a97a4..525558e1bceb 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 78c37eb0d5e6a9727b12ea0f1821795ffaa66cfe +refs/heads/master: 6527f8f848ec84b9daf1cb07601266126b8507ab diff --git a/trunk/fs/ocfs2/refcounttree.c b/trunk/fs/ocfs2/refcounttree.c index 9e96921dffda..29405f2ff616 100644 --- a/trunk/fs/ocfs2/refcounttree.c +++ b/trunk/fs/ocfs2/refcounttree.c @@ -4075,6 +4075,7 @@ static int ocfs2_complete_reflink(struct inode *s_inode, OCFS2_I(t_inode)->ip_dyn_features = OCFS2_I(s_inode)->ip_dyn_features; spin_unlock(&OCFS2_I(t_inode)->ip_lock); i_size_write(t_inode, size); + t_inode->i_blocks = s_inode->i_blocks; di->i_xattr_inline_size = s_di->i_xattr_inline_size; di->i_clusters = s_di->i_clusters;