]> asedeno.scripts.mit.edu Git - linux.git/commit
xfs: introduce table-based init for error behaviors
authorCarlos Maiolino <cmaiolino@redhat.com>
Wed, 18 May 2016 01:06:44 +0000 (11:06 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 18 May 2016 01:06:44 +0000 (11:06 +1000)
commitef6a50fbb1bba7951aa23adcfb40e99ca72dc51c
treedbe758d65ca8ca90cf5b614947f70a4edd313df8
parentdf3093907ccc718459c54c99da29dd774af41186
xfs: introduce table-based init for error behaviors

Before we start expanding the number of error classes and errors we
can configure behaviour for, we need a simple and clear way to
define the default behaviour that we initialized each mount with.
Introduce a table based method for keeping the initial configuration
in, and apply that to the existing initialization code.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_sysfs.c