summaryrefslogtreecommitdiff
path: root/fs/sysfs/bin.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2013-10-01 17:41:58 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-10-05 17:15:48 -0700
commitc75ec764cf4746a2406278ffa16f590c5db290a7 (patch)
treee1d8787906ed20dce25ce1f119c95382d6cdf21e /fs/sysfs/bin.c
parent375b611e60f7c1ce6913417ca254efe5523f1a72 (diff)
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 'fs/sysfs/bin.c')
0 files changed, 0 insertions, 0 deletions