]> 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)
commit72235088fbb224d2a6cd31348536a083f12c6cce
tree7133e49e6c491130044498d6c22e5fb7d1a8006b
parent4f91feb1a2f5964b306a851e500a8d6fa9db20a0
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