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-3205 llite: Set layout_gen before compatibility check
[fs/lustre-release.git]
/
lustre
/
llite
/
file.c
diff --git
a/lustre/llite/file.c
b/lustre/llite/file.c
index
09f9905
..
e61b696
100644
(file)
--- a/
lustre/llite/file.c
+++ b/
lustre/llite/file.c
@@
-3437,7
+3437,7
@@
int ll_layout_refresh(struct inode *inode, __u32 *gen)
int rc;
ENTRY;
- *gen =
LL_LAYOUT_GEN_NONE
;
+ *gen =
lli->lli_layout_gen
;
if (!(sbi->ll_flags & LL_SBI_LAYOUT_LOCK))
RETURN(0);