On Fri, 2015-09-25 at 06:49 -0700, Christoph Hellwig wrote: > 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 <[email protected]> > --- > fs/configfs/file.c | 17 ++++++++++++----- > include/linux/configfs.h | 27 +++++++++++++++++++++++++++ > 2 files changed, 39 insertions(+), 5 deletions(-) >
Reviewed-by: Nicholas Bellinger <[email protected]>
