dm sysfs: introduce ability to add writable attributes
authorMike Snitzer <snitzer@redhat.com>
Fri, 27 Feb 2015 22:58:42 +0000 (17:58 -0500)
committerMike Snitzer <snitzer@redhat.com>
Wed, 15 Apr 2015 16:10:15 +0000 (12:10 -0400)
commitb898320d683d54c2bc17b748b9742d2b601ad453
treef846aec187e1d4833b4e1c24df8bd41784782826
parentde3ec86dff160d35c817bb70eeaeff6e392f44a4
dm sysfs: introduce ability to add writable attributes

Add DM_ATTR_RW() macro and establish .store method in dm_sysfs_ops.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-sysfs.c