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-1581 ofd: learn osd to be used from lmi
[fs/lustre-release.git]
/
lustre
/
ofd
/
ofd_dev.c
diff --git
a/lustre/ofd/ofd_dev.c
b/lustre/ofd/ofd_dev.c
index
8711a30
..
b3c582b
100644
(file)
--- a/
lustre/ofd/ofd_dev.c
+++ b/
lustre/ofd/ofd_dev.c
@@
-78,7
+78,7
@@
static int ofd_stack_init(const struct lu_env *env,
lmi = server_get_mount_2(dev);
if (lmi == NULL) {
CERROR("Cannot get mount info for %s!\n", dev);
- RETURN(-E
FAULT
);
+ RETURN(-E
NODEV
);
}
type = class_get_type(s2lsi(lmi->lmi_sb)->lsi_osd_type);