sysfs: honor bin_attr.attr.ignore_lockdep
authorTejun Heo <tj@kernel.org>
Thu, 24 Oct 2013 15:49:08 +0000 (11:49 -0400)
committerPawel Osmialowski <p.osmialowsk@mcdsrvbld02.digital.local>
Fri, 27 Mar 2015 13:37:26 +0000 (14:37 +0100)
commit277801c9fdb572e4725ad0111656651062912611
tree029dbed9214082cf5f8106a658ee56dc555433c9
parentd8bb3a9808c30656b62e193ef443adb85dc6603d
sysfs: honor bin_attr.attr.ignore_lockdep

ignore_lockdep is currently honored only for regular files.  There's
no reason to ignore it for bin files.  Update sysfs_ignore_lockdep()
so that bin_attr.attr.ignore_lockdep works too.

While this doesn't have any in-kernel user, this unifies the behaviors
between regular and bin files and will help later changes.

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