aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/refcounttree.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ocfs2/refcounttree.c')
-rw-r--r--fs/ocfs2/refcounttree.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/ocfs2/refcounttree.c b/fs/ocfs2/refcounttree.c
index 52e4f6ee1e23..4793f36f6518 100644
--- a/fs/ocfs2/refcounttree.c
+++ b/fs/ocfs2/refcounttree.c
@@ -37,7 +37,6 @@
37 37
38#include <linux/bio.h> 38#include <linux/bio.h>
39#include <linux/blkdev.h> 39#include <linux/blkdev.h>
40#include <linux/gfp.h>
41#include <linux/slab.h> 40#include <linux/slab.h>
42#include <linux/writeback.h> 41#include <linux/writeback.h>
43#include <linux/pagevec.h> 42#include <linux/pagevec.h>
@@ -4070,6 +4069,9 @@ static int ocfs2_complete_reflink(struct inode *s_inode,
4070 di->i_attr = s_di->i_attr; 4069 di->i_attr = s_di->i_attr;
4071 4070
4072 if (preserve) { 4071 if (preserve) {
4072 t_inode->i_uid = s_inode->i_uid;
4073 t_inode->i_gid = s_inode->i_gid;
4074 t_inode->i_mode = s_inode->i_mode;
4073 di->i_uid = s_di->i_uid; 4075 di->i_uid = s_di->i_uid;
4074 di->i_gid = s_di->i_gid; 4076 di->i_gid = s_di->i_gid;
4075 di->i_mode = s_di->i_mode; 4077 di->i_mode = s_di->i_mode;