summaryrefslogtreecommitdiff
ModeNameSize
-rw-r--r--.bashrc3074logplain
d---------.zsh645logplain
-rw-r--r--.zshenv374logplain
-rw-r--r--.zshrc370logplain
t.cgi/linux/net-next.git/patch/?id=870823e629ea194e6cf8e82a9694ac62cad49512'>patch) treeb48ab62284a125096e42d6628850c7a8e4629aa7 parent6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f (diff)
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