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-14039 obdclass: set LA_TYPE when update_log init
[fs/lustre-release.git]
/
lustre
/
obdclass
/
llog_osd.c
diff --git
a/lustre/obdclass/llog_osd.c
b/lustre/obdclass/llog_osd.c
index
de00b7a
..
09246e5
100644
(file)
--- a/
lustre/obdclass/llog_osd.c
+++ b/
lustre/obdclass/llog_osd.c
@@
-2014,7
+2014,7
@@
int llog_osd_get_cat_list(const struct lu_env *env, struct dt_device *d,
if (IS_ERR(th))
GOTO(out, rc = PTR_ERR(th));
- lgi->lgi_attr.la_valid = LA_MODE;
+ lgi->lgi_attr.la_valid = LA_MODE
| LA_TYPE
;
lgi->lgi_attr.la_mode = S_IFREG | S_IRUGO | S_IWUSR;
lgi->lgi_dof.dof_type = dt_mode_to_dft(S_IFREG);