Re: [PATCH 4/4] tcmu: make cmd timeout configurable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/18/2017 06:26 PM, Nicholas A. Bellinger wrote:
> +static ssize_t tcmu_cmd_time_out_store(struct config_item *item, const char *page,
> +				       size_t count)
> +{


...


> +
> +	if (!val) {
> +		pr_err("Illegal value for cmd_time_out\n");
> +		return -EINVAL;
> +	}
> +

Thanks for the patch! I tested with this chunk removed so you can
disable the timer (0 == disabled), and it all works as expected.

--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux