Skip to content
Snippets Groups Projects
Commit 779cd145 authored by jacob's avatar jacob
Browse files

r=phil

if mount.lustre is not installed, don't oops but print a message
suggesting it be checked.
parent fe79e1b3
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment