diff options
author | Tejun Heo <tj@kernel.org> | 2013-10-01 17:41:58 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-05 17:15:48 -0700 |
commit | c75ec764cf4746a2406278ffa16f590c5db290a7 (patch) | |
tree | e1d8787906ed20dce25ce1f119c95382d6cdf21e /net | |
parent | 375b611e60f7c1ce6913417ca254efe5523f1a72 (diff) | |
download | op-kernel-dev-c75ec764cf4746a2406278ffa16f590c5db290a7.zip op-kernel-dev-c75ec764cf4746a2406278ffa16f590c5db290a7.tar.gz |
sysfs: add sysfs_open_file_mutex
Add a separate mutex to protect sysfs_open_dirent->buffers list. This
will allow performing sleepable operations while traversing
sysfs_buffers, which will be renamed to sysfs_open_file.
Note that currently sysfs_open_dirent->buffers list isn't being used
for anything and this patch doesn't make any functional difference.
It will be used to merge regular and bin file supports.
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions