Messages in this thread | | | Date | Mon, 24 Sep 2012 15:26:36 -0700 (PDT) | From | David Rientjes <> | Subject | Re: [patch for-3.6] fs, debugfs: fix race in u32_array_read and allocate array at open |
| |
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.
| |