summaryrefslogtreecommitdiffstats
path: root/block/bfq-cgroup.c
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@sandeen.net>2018-01-08 10:41:33 -0800
committerDarrick J. Wong <darrick.wong@oracle.com>2018-01-08 10:41:33 -0800
commitbfb3e9b9262d4b3e23c02d23db8e3c6bf8ea024b (patch)
tree2c6522997bf7e70b2ee8fe33a7c38ae8f78b8d59 /block/bfq-cgroup.c
parenta0158315964136d1a43c1a726ac4381ae3a76153 (diff)
downloadlinux-bfb3e9b9262d4b3e23c02d23db8e3c6bf8ea024b.tar.gz
linux-bfb3e9b9262d4b3e23c02d23db8e3c6bf8ea024b.tar.bz2
linux-bfb3e9b9262d4b3e23c02d23db8e3c6bf8ea024b.zip
xfs: explicitly initialize meta_scrub_ops array by type
An implicit mapping to type by order of initialization seems error-prone, and doesn't lend itself to cscope-ing. Also add sanity checks about size of array vs. max types, and a defensive check that ->scrub exists before using it. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'block/bfq-cgroup.c')
0 files changed, 0 insertions, 0 deletions