Missed one ...
On Fri, Dec 14, 2012 at 10:36 AM, sumit.semwal@ti.com wrote:
list_for_each_entry(attach_obj, &buf_obj->attachments, node) {
seq_printf(s, "\t\t");
seq_printf(s, "%s\n", attach_obj->dev->init_name);
attach_count++;
}
You need to hold dmabuf->lock while walking the attachment list. -Daniel