Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-11933 mdt: clear sp_cr_flags in migrate unpack
[fs/lustre-release.git]
/
lustre
/
mdt
/
mdt_lib.c
diff --git
a/lustre/mdt/mdt_lib.c
b/lustre/mdt/mdt_lib.c
index
d8fd04c
..
8e49bed
100644
(file)
--- a/
lustre/mdt/mdt_lib.c
+++ b/
lustre/mdt/mdt_lib.c
@@
-1509,6
+1509,7
@@
static int mdt_migrate_unpack(struct mdt_thread_info *info)
/* rename_tgt contains the mode already */
attr->la_mode = rec->rn_mode;
attr->la_valid = LA_UID | LA_GID | LA_CTIME | LA_MTIME | LA_MODE;
+ spec->sp_cr_flags = 0;
rc = mdt_name_unpack(pill, &RMF_NAME, &rr->rr_name, 0);
if (rc < 0)