On 5/25/21 1:04 AM, Ming Lei wrote:
quoted hunk ↗ jump to hunk
+int wbt_init(struct request_queue *q)
+{
+ int ret = wbt_alloc(q);
+ struct rq_wb *rwb;
+
+ if (ret)
+ return ret;
A coding style nit: please move the 'ret = wbt_alloc(q)' assignment to a
line of its own since wbt_alloc() allocates memory. Otherwise this patch
looks good to me.
Thanks,
Bart.