commit | 375b611e60f7c1ce6913417ca254efe5523f1a72 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Tue Oct 01 17:41:57 2013 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Oct 05 17:04:34 2013 -0700 |
tree | af7c2f99afad20b6e5742175b39687c1fb010ae6 | |
parent | aea585ef8fa6516395022e9d2fed6ec5014128bc [diff] |
sysfs: remove sysfs_buffer->ops Currently, sysfs_ops is fetched during sysfs_open_file() and cached in sysfs_buffer->ops to be used while the file is open. This patch removes the caching and makes each operation directly fetch sysfs_ops. This patch doesn't introduce any behavior difference and is to prepare for merging regular and bin file supports. Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>