diff --git a/lustre/obdclass/obd_mount.c b/lustre/obdclass/obd_mount.c index 638c895..9d0d10e 100644 --- a/lustre/obdclass/obd_mount.c +++ b/lustre/obdclass/obd_mount.c @@ -2375,7 +2375,9 @@ void lustre_register_kill_super_cb(void (*cfs)(struct super_block *sb)) struct super_block * lustre_get_sb(struct file_system_type *fs_type, int flags, const char *devname, void * data) { - return get_sb_nodev(fs_type, flags, data, lustre_fill_super); + struct lustre_mount_data2 lmd2 = {data, NULL}; + + return get_sb_nodev(fs_type, flags, &lmd2, lustre_fill_super); } #else int lustre_get_sb(struct file_system_type *fs_type, int flags,