Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe79e1b
)
r=phil
author
jacob
<jacob>
Tue, 24 Feb 2004 00:00:52 +0000
(
00:00
+0000)
committer
jacob
<jacob>
Tue, 24 Feb 2004 00:00:52 +0000
(
00:00
+0000)
if mount.lustre is not installed, don't oops but print a message
suggesting it be checked.
lustre/llite/llite_lib.c
patch
|
blob
|
history
diff --git
a/lustre/llite/llite_lib.c
b/lustre/llite/llite_lib.c
index
bc41723
..
36b0250
100644
(file)
--- a/
lustre/llite/llite_lib.c
+++ b/
lustre/llite/llite_lib.c
@@
-510,6
+510,10
@@
int lustre_fill_super(struct super_block *sb, void *data, int silent)
ENTRY;
CDEBUG(D_VFSTRACE, "VFS Op: sb %p\n", sb);
+ if (lmd == NULL) {
+ CERROR("lustre_mount_data is NULL: check that /sbin/mount.lustre exists?\n");
+ RETURN(-EINVAL);
+ }
sbi = lustre_init_sbi(sb);
if (!sbi)
RETURN(-ENOMEM);