IB/hfi1: Remove unused function hfi1_mmu_rb_search
[deliverable/linux.git] / drivers / target / target_core_pr.c
index b1795735eafc825057127bbe569018657e8f9133..47463c99c3181ed8e133b2d39ba9362d0196541a 100644 (file)
@@ -1985,7 +1985,7 @@ static int __core_scsi3_write_aptpl_to_file(
                return -EMSGSIZE;
        }
 
-       snprintf(path, 512, "/var/target/pr/aptpl_%s", &wwn->unit_serial[0]);
+       snprintf(path, 512, "%s/pr/aptpl_%s", db_root, &wwn->unit_serial[0]);
        file = filp_open(path, flags, 0600);
        if (IS_ERR(file)) {
                pr_err("filp_open(%s) for APTPL metadata"
This page took 0.025998 seconds and 5 git commands to generate.