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-9859 libcfs: refactor libcfs initialization.
[fs/lustre-release.git]
/
lustre
/
osd-ldiskfs
/
osd_handler.c
diff --git
a/lustre/osd-ldiskfs/osd_handler.c
b/lustre/osd-ldiskfs/osd_handler.c
index
68ae68a
..
e42fff1
100644
(file)
--- a/
lustre/osd-ldiskfs/osd_handler.c
+++ b/
lustre/osd-ldiskfs/osd_handler.c
@@
-9000,6
+9000,10
@@
static int __init osd_init(void)
BUILD_BUG_ON(sizeof(struct osd_thread_info) > PAGE_SIZE);
#endif
+ rc = libcfs_setup();
+ if (rc)
+ return rc;
+
osd_oi_mod_init();
rc = lu_kmem_init(ldiskfs_caches);