]> git.baikalelectronics.ru Git - kernel.git/commit
md: add __acquires/__releases annotations to handle_active_stripes
authorChristoph Hellwig <hch@lst.de>
Thu, 4 Apr 2019 16:56:16 +0000 (18:56 +0200)
committerSong Liu <songliubraving@fb.com>
Wed, 10 Apr 2019 22:26:09 +0000 (15:26 -0700)
commita7d5e8e6091515d02e292ac513539f0934d2d122
tree0e9bde94b7410e5c4e6e81ac2e0a2e1170e911b7
parent74407bc7a5bb78d99e8c576dd855d4d7978d83fa
md: add __acquires/__releases annotations to handle_active_stripes

This tells sparse that we release and reacquire the device_lock and
avoids a warning.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Song Liu <songliubraving@fb.com>
drivers/md/raid5.c