Messages in this thread | | | Subject | Re: [PATCH 09/13] sysfs: Implement sysfs_getattr & sysfs_permission | From | (Eric W. Biederman) | Date | Tue, 03 Nov 2009 21:50:16 -0800 |
| |
"Serge E. Hallyn" <serue@us.ibm.com> writes:
> So the inode->i_mutex is not needed?
Good question. Nothing in sysfs needs it. The VFS does not grab the inode mutex on this path, but the vfs does grab the inode mutex when writing to the inode.
Since the VFs isn't grabbing the inode_mutex there is probably a race in here somewhere if someone looks at things just right.
I am too tired tonight to be that person.
Eric
| |