Whamcloud - gitweb
LU-10346 utils: use the correct lib path in mount_utils.c 31/30431/3
authorQuentin Bouget <quentin.bouget@cea.fr>
Thu, 7 Dec 2017 15:48:28 +0000 (15:48 +0000)
committerOleg Drokin <oleg.drokin@intel.com>
Sun, 17 Dec 2017 06:20:50 +0000 (06:20 +0000)
The backfs_load_module() function of mount_utils.c used an outdated
to link itself against the osd library. This patch fixes it.

Test-Parameters: trivial
Signed-off-by: Quentin Bouget <quentin.bouget@cea.fr>
Change-Id: I90a523b45b5772c05f7520e810eec7eac14b75be
Reviewed-on: https://review.whamcloud.com/30431
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/utils/mount_utils.c

index 82543df..c04cf6c 100644 (file)
@@ -569,7 +569,7 @@ struct module_backfs_ops *load_backfs_module(enum ldd_mount_type mount_type)
                dirname = getenv("LUSTRE");
                if (dirname) {
                        snprintf(filename, sizeof(filename),
-                                "%s/utils/.libs/mount_%s.so",
+                                "%s/utils/mount_%s.so",
                                 dirname, fsname);
                        handle = dlopen(filename, RTLD_LAZY);
                }