Re: [patch -v2 01/23] sunrpc: use simple_read_from_buffer

From: Akinobu Mita
Date: Mon Jun 02 2008 - 08:11:40 EST


>> + len = sprintf(tbuf, "%lu\n", cd->flush_time);
>> +
>> + return simple_read_from_buffer(buf, count, ppos, tbuf, len);
>> }
>
> Please, switch to seq_file:
>
> seq_printf(m, "%lu\n", cd->flush_time);
> return 0;
>
> and that's everything module have to worry about.
>

OK. I'll drop this patch from the patch series.
And I'll send this seq_file convertion in another chance.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/