Whamcloud - gitweb
LU-2800 autoconf: remove LC_FS_STRUCT_USE_PATH
[fs/lustre-release.git] / lustre / ptlrpc / sec_config.c
index e1c25d3..4685289 100644 (file)
@@ -1025,7 +1025,7 @@ int sptlrpc_target_local_copy_conf(struct obd_device *obd,
 
         push_ctxt(&saved, &obd->obd_lvfs_ctxt, NULL);
 
-        dentry = ll_lookup_one_len(MOUNT_CONFIGS_DIR, cfs_fs_pwd(current->fs),
+       dentry = ll_lookup_one_len(MOUNT_CONFIGS_DIR, current->fs->pwd.dentry,
                                    strlen(MOUNT_CONFIGS_DIR));
         if (IS_ERR(dentry)) {
                 rc = PTR_ERR(dentry);