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-617 recovery: setattr from open breaks recovery
[fs/lustre-release.git]
/
lustre
/
mdt
/
mdt_lib.c
diff --git
a/lustre/mdt/mdt_lib.c
b/lustre/mdt/mdt_lib.c
index
9e64d59
..
0dea2bb
100644
(file)
--- a/
lustre/mdt/mdt_lib.c
+++ b/
lustre/mdt/mdt_lib.c
@@
-728,7
+728,7
@@
static __u64 mdt_attr_valid_xlate(__u64 in, struct mdt_reint_record *rr,
out |= LA_BLOCKS;
if (in & ATTR_FROM_OPEN)
- rr->rr_flags |= MRF_
SETATTR_LOCKED
;
+ rr->rr_flags |= MRF_
OPEN_TRUNC
;
if (in & ATTR_ATIME_SET)
out |= LA_ATIME;