From: Tejun Heo Date: Tue, 1 Oct 2013 21:41:58 +0000 (-0400) Subject: sysfs: add sysfs_open_file_mutex X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~64^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c75ec764cf4746a2406278ffa16f590c5db290a7;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed