orangefs: consolidate sysfs show and store functions
authorMartin Brandenburg <martin@omnibond.com>
Mon, 15 Aug 2016 18:51:31 +0000 (14:51 -0400)
committerMartin Brandenburg <martin@omnibond.com>
Mon, 15 Aug 2016 18:51:31 +0000 (14:51 -0400)
commit7b0cae60ffa216cff3ba6bd5ac2c7be0ca2c1467
tree54c7822d5fbf63e63c4a42857ce1a5073ee443d4
parent2e9f80da076ec33cdb39dc0ddaecfa2262abd87c
orangefs: consolidate sysfs show and store functions

Remove a good bit of obfuscated and duplicated code.

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