summaryrefslogtreecommitdiffstats
path: root/fs/efivarfs
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2015-10-03 15:32:37 +0200
committerNicholas Bellinger <nab@linux-iscsi.org>2015-10-14 07:08:43 +0200
commit870823e629ea194e6cf8e82a9694ac62cad49512 (patch)
treeb48ab62284a125096e42d6628850c7a8e4629aa7 /fs/efivarfs
parentLinux 4.3-rc1 (diff)
downloadlinux-870823e629ea194e6cf8e82a9694ac62cad49512.tar.xz
linux-870823e629ea194e6cf8e82a9694ac62cad49512.zip
configfs: add show and store methods to struct configfs_attribute
Add methods to struct configfs_attribute to directly show and store attributes without adding boilerplate code to every user. In addition to the methods this also adds 3 helper macros to define read/write, read-only and write-only attributes with a single line of code. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Nicholas Bellinger <nab@linux-iscsi.org> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'fs/efivarfs')
0 files changed, 0 insertions, 0 deletions