orangefs: reorganize duplicated sysfs attribute structs
authorMartin Brandenburg <martin@omnibond.com>
Mon, 15 Aug 2016 18:02:39 +0000 (14:02 -0400)
committerMartin Brandenburg <martin@omnibond.com>
Mon, 15 Aug 2016 18:02:39 +0000 (14:02 -0400)
commit2e9f80da076ec33cdb39dc0ddaecfa2262abd87c
treebce18d51550b359824d2c3f35d5211c1ae95d4a7
parentdc3012a7afb529f3306c880be379b3021892279e
orangefs: reorganize duplicated sysfs attribute structs

We had a separate struct type for each type of attribute, but they all
did the exact same thing. Consolidate them into one
struct orangefs_attribute type.

Signed-off-by: Martin Brandenburg <martin@omnibond.com>
fs/orangefs/orangefs-sysfs.c