summaryrefslogtreecommitdiff
path: root/scripts/checkstack.pl
diff options
context:
space:
mode:
authorLogan Gunthorpe <logang@deltatee.com>2022-08-11 20:14:17 +0300
committerSong Liu <song@kernel.org>2022-09-22 10:05:04 +0300
commitf9287c3e93f00d3236c4c81bf76dae43afd903b9 (patch)
tree5e8e54d42d7422880e21544f665c88b7353b9fe9 /scripts/checkstack.pl
parent2f2d51efd83225c1eb0d7771ddfe9fddd5ccd378 (diff)
downloadlinux-f9287c3e93f00d3236c4c81bf76dae43afd903b9.tar.xz
md/raid5: Don't read ->active_stripes if it's not needed
The atomic_read() is not needed in many cases so only do the read after the first checks are done. Suggested-by: Christoph Hellwig <hch@infradead.org> Signed-off-by: Logan Gunthorpe <logang@deltatee.com> Signed-off-by: Song Liu <song@kernel.org>
Diffstat (limited to 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions