Searched refs:db_root_stage (Results 1 – 1 of 1) sorted by relevance
| /linux/drivers/target/ |
| H A D | target_core_configfs.c | 99 static char db_root_stage[DB_ROOT_LEN]; variable 126 read_bytes = scnprintf(db_root_stage, DB_ROOT_LEN, "%s", page); in target_core_item_dbroot_store() 130 if (db_root_stage[read_bytes - 1] == '\n') in target_core_item_dbroot_store() 131 db_root_stage[read_bytes - 1] = '\0'; in target_core_item_dbroot_store() 134 r = kern_path(db_root_stage, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &path); in target_core_item_dbroot_store() 136 pr_err("db_root: cannot open: %s\n", db_root_stage); in target_core_item_dbroot_store() 138 pr_err("db_root: not a directory: %s\n", db_root_stage); in target_core_item_dbroot_store() 143 strscpy(db_root, db_root_stage); in target_core_item_dbroot_store() 3705 snprintf(db_root_stage, DB_ROOT_LEN, DB_ROOT_PREFERRED); in target_init_dbroot() 3706 fp = filp_open(db_root_stage, O_RDONLY, 0); in target_init_dbroot() [all …]
|