Whamcloud - gitweb
LU-10346 utils: use the correct lib path in mount_utils.c 84/30584/2
authorQuentin Bouget <quentin.bouget@cea.fr>
Thu, 7 Dec 2017 15:48:28 +0000 (15:48 +0000)
committerJohn L. Hammond <john.hammond@intel.com>
Thu, 4 Jan 2018 17:51:36 +0000 (17:51 +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
Lustre-change: https://review.whamcloud.com/30431
Lustre-commit: 74eb79b0fe4815daa0bebd3293c71f052c5b19d4

Signed-off-by: Quentin Bouget <quentin.bouget@cea.fr>
Change-Id: I90a523b45b5772c05f7520e810eec7eac14b75be
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Signed-off-by: Minh Diep <minh.diep@intel.com>
Reviewed-on: https://review.whamcloud.com/30584
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
lustre/utils/mount_utils.c

index ccb33cd..c363d19 100644 (file)
@@ -562,7 +562,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);
                }