Re: [patch for-3.6] fs, debugfs: fix race in u32_array_read and allocatearray at open

From: Raghavendra K T
Date: Mon Sep 24 2012 - 22:57:47 EST


On 09/25/2012 03:56 AM, David Rientjes wrote:
On Fri, 21 Sep 2012, Raghavendra K T wrote:

I think you meant we can read data only once. second time onwards we don't see
any data. (except when fd is forked by child/ races in
threads).


You can read(2) as many times as you want after it's opened and will get
persistent data.



Okay, Sorry for the noise.

--
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/