diff options
| author | 2022-04-07 10:57:13 -0600 | |
|---|---|---|
| committer | 2022-04-25 14:00:37 -0700 | |
| commit | 4631f39f058b98bfa3fd1d6ffb491fa9e70e3e81 (patch) | |
| tree | fadee4cd84c0cf1d6ebbf54847008687d35aa157 /include/linux/phy/git:/ssh:/git@git.zx2c4.com | |
| parent | md/raid5-ppl: Annotate with rcu_dereference_protected() (diff) | |
| download | linux-dev-4631f39f058b98bfa3fd1d6ffb491fa9e70e3e81.tar.xz linux-dev-4631f39f058b98bfa3fd1d6ffb491fa9e70e3e81.zip | |
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 'include/linux/phy/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
