]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Sat, 10 Jun 2017 00:25:16 +0000 (17:25 -0700)
commit9c22aa2d03960b2d1812eb72d1c8716ad3281651
tree126f483d5eb110478dd905c91e7a4bc76df40272
parentf0c741591add9d07d68a240f0e5e516ab5742e23
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>
(cherry picked from commit ef6a50fbb1bba7951aa23adcfb40e99ca72dc51c)

Orabug: 26130728

Signed-off-by: Kirtikar Kashyap <kirtikar.kashyap@oracle.com>
Reviewed-by: Jack Vogel <jack.vogel@oracle.com>
fs/xfs/xfs_sysfs.c