]> git.baikalelectronics.ru Git - kernel.git/commit
sysfs: prepare open path for unified regular / bin file handling
authorTejun Heo <tj@kernel.org>
Tue, 1 Oct 2013 21:42:08 +0000 (17:42 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 6 Oct 2013 00:27:40 +0000 (17:27 -0700)
commit85f6c21cd01c9587148493684b245567d68e6127
tree7133e49e6c491130044498d6c22e5fb7d1a8006b
parentc1dcf0c69b2489b3106adb0d46b1fb960b4bdb7d
sysfs: prepare open path for unified regular / bin file handling

sysfs bin file handling will be merged into the regular file support.
This patch prepares the open path.

This patch updates sysfs_open_file() such that it can handle both
regular and bin files.

This is a preparation and the new bin file path isn't used yet.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/sysfs/file.c