OSDN Git Service

md: add __acquires/__releases annotations to (un)lock_two_stripes
authorChristoph Hellwig <hch@lst.de>
Thu, 4 Apr 2019 16:56:15 +0000 (18:56 +0200)
committerSong Liu <songliubraving@fb.com>
Wed, 10 Apr 2019 22:26:09 +0000 (15:26 -0700)
commit368ecade0532982c8916a49e66b8105413d8db59
tree1342841ea83e27211405a14a7358ab2e6bcc065b
parent2b598ee54a1e50323143a613aa29eb40377d8792
md: add __acquires/__releases annotations to (un)lock_two_stripes

This tells sparse that we acquire/release the two stripe locks and
avoids a warning.

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