xfs: consolidate sysfs ops
authorBill O'Donnell <billodo@redhat.com>
Sun, 11 Oct 2015 18:18:45 +0000 (05:18 +1100)
committerDave Chinner <david@fromorbit.com>
Sun, 11 Oct 2015 18:18:45 +0000 (05:18 +1100)
commita27c264009cb236dc209875043a0c237af46a1af
treeeda25aeacf9d1d98fc32f90f49b2a5fc637ae0e2
parent50cf5b7402633265fe11430fd63af82c401fad46
xfs: consolidate sysfs ops

As a part of the series to move xfs global stats from procfs to sysfs,
this patch consolidates the sysfs ops functions and removes redundancy.

Signed-off-by: Bill O'Donnell <billodo@redhat.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_sysfs.c