git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6
[sfrench/cifs-2.6.git]
/
fs
/
ocfs2
/
refcounttree.c
diff --git
a/fs/ocfs2/refcounttree.c
b/fs/ocfs2/refcounttree.c
index bd96f6c7877ed89766ae07ddd616d3f2f0ac344f..5cbcd0f008fc96a5f9c65d4fb26f393eb7f3db15 100644
(file)
--- a/
fs/ocfs2/refcounttree.c
+++ b/
fs/ocfs2/refcounttree.c
@@
-4083,6
+4083,9
@@
static int ocfs2_complete_reflink(struct inode *s_inode,
di->i_attr = s_di->i_attr;
if (preserve) {
+ t_inode->i_uid = s_inode->i_uid;
+ t_inode->i_gid = s_inode->i_gid;
+ t_inode->i_mode = s_inode->i_mode;
di->i_uid = s_di->i_uid;
di->i_gid = s_di->i_gid;
di->i_mode = s_di->i_mode;