diff options
author | Jules Irenge <jbi.octave@gmail.com> | 2020-06-01 21:45:26 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-06-02 10:59:05 -0700 |
commit | 8f745e62a1926e57a671b0841241b60e80903dda (patch) | |
tree | 162a0aab12ab56cfcf7e9f7a2828d4dec92a5173 /fs/ocfs2/super.c | |
parent | 93e72b3c612adcaca13d874fcc86c53e6c8da541 (diff) | |
download | linux-rpi-8f745e62a1926e57a671b0841241b60e80903dda.tar.gz linux-rpi-8f745e62a1926e57a671b0841241b60e80903dda.tar.bz2 linux-rpi-8f745e62a1926e57a671b0841241b60e80903dda.zip |
ocfs2: add missing annotation for dlm_empty_lockres()
Sparse reports a warning at dlm_empty_lockres()
warning: context imbalance in dlm_purge_lockres() - unexpected unlock
The root cause is the missing annotation at dlm_purge_lockres()
Add the missing __must_hold(&dlm->spinlock)
Signed-off-by: Jules Irenge <jbi.octave@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Mark Fasheh <mark@fasheh.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Joseph Qi <jiangqi903@gmail.com>
Cc: Changwei Ge <gechangwei@live.cn>
Cc: Gang He <ghe@suse.com>
Cc: Jun Piao <piaojun@huawei.com>
Link: http://lkml.kernel.org/r/20200403160505.2832-4-jbi.octave@gmail.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ocfs2/super.c')
0 files changed, 0 insertions, 0 deletions