diff options
author | Christoph Hellwig <hch@lst.de> | 2015-10-03 15:32:37 +0200 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-10-14 07:08:43 +0200 |
commit | 870823e629ea194e6cf8e82a9694ac62cad49512 (patch) | |
tree | b48ab62284a125096e42d6628850c7a8e4629aa7 /fs/minix/bitmap.c | |
parent | Linux 4.3-rc1 (diff) | |
download | linux-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/minix/bitmap.c')
0 files changed, 0 insertions, 0 deletions