diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-08-26 17:01:53 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-09-04 13:37:17 +0200 |
commit | 7f905761e15a870761a7f9ba14bbb9e132ab8481 (patch) | |
tree | 35025754b5ca166b0e1c655a8db431abe3b27fad /include/linux/acct.h | |
parent | d9430f96c051ede4e4a3d5a20e68518181e9cd3c (diff) | |
download | linux-7f905761e15a870761a7f9ba14bbb9e132ab8481.tar.gz linux-7f905761e15a870761a7f9ba14bbb9e132ab8481.tar.bz2 linux-7f905761e15a870761a7f9ba14bbb9e132ab8481.zip |
sysfs: add BIN_ATTR_WO() macro
This variant was missing from sysfs.h, I guess no one noticed it before.
Turns out the powerpc secure variable code can use it, so add it to the
tree for it, and potentially others to take advantage of, instead of
open-coding it.
Reported-by: Nayna Jain <nayna@linux.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20190826150153.GD18418@kroah.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/acct.h')
0 files changed, 0 insertions, 0 deletions