summaryrefslogtreecommitdiff
path: root/drivers/md/raid0.c
diff options
context:
space:
mode:
authorLogan Gunthorpe <logang@deltatee.com>2022-04-07 10:57:13 -0600
committerSong Liu <song@kernel.org>2022-04-25 14:00:37 -0700
commit4631f39f058b98bfa3fd1d6ffb491fa9e70e3e81 (patch)
treefadee4cd84c0cf1d6ebbf54847008687d35aa157 /drivers/md/raid0.c
parent4f4ee2bf32860e4aa3b07be3fc9224fbe6cce4fe (diff)
md/raid5: Annotate functions that hold device_lock with __must_hold
A handful of functions note the device_lock must be held with a comment but this is not comprehensive. Many other functions hold the lock when taken so add an __must_hold() to each call to annotate when the lock is held. This makes it a bit easier to analyse device_lock. Signed-off-by: Logan Gunthorpe <logang@deltatee.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Song Liu <song@kernel.org>
Diffstat (limited to 'drivers/md/raid0.c')
0 files changed, 0 insertions, 0 deletions