Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions scst/src/dev_handlers/scst_vdisk.c
Original file line number Diff line number Diff line change
Expand Up @@ -8278,6 +8278,12 @@ static int vdev_sysfs_process_filename_store(struct scst_sysfs_work_item *work)
}
swap(virt_dev->filename, fn);
kfree(fn);
/*
* Re-check size, flush, and thin-provisioning against the new
* backend on the next activate. Do not reexamine here: the device
* is inactive, and ALUA-only activate cycles must stay unchanged.
*/
virt_dev->reexam_pending = 1;
PRINT_INFO("vdev %s: changed filename into \"%s\"", virt_dev->name,
virt_dev->filename);
res = 0;
Expand Down
Loading