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-3620 mdd: missing CLF_RENAME_LAST flag in CL_RENME record
[fs/lustre-release.git]
/
lustre
/
mdd
/
mdd_dir.c
diff --git
a/lustre/mdd/mdd_dir.c
b/lustre/mdd/mdd_dir.c
index
d607bba
..
b75ba34
100644
(file)
--- a/
lustre/mdd/mdd_dir.c
+++ b/
lustre/mdd/mdd_dir.c
@@
-2663,7
+2663,7
@@
static int mdd_rename(const struct lu_env *env,
ma->ma_attr = *tg_attr;
ma->ma_valid |= MA_INODE;
- if (
so
_attr->la_nlink == 0)
+ if (
tg
_attr->la_nlink == 0)
cl_flags |= CLF_RENAME_LAST;
}