mirror of
https://github.com/torvalds/linux.git
synced 2026-09-13 15:40:03 +02:00
xfs: add lock annotations to xlog_state_shutdown_callbacks
Sparse used to get away without these despite dropping and reacquiring l_icloglock Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com> Signed-off-by: Carlos Maiolino <cem@kernel.org>
This commit is contained in:
parent
912a5b8e34
commit
2d1b21fcc9
|
|
@ -422,6 +422,8 @@ xfs_log_reserve(
|
|||
static void
|
||||
xlog_state_shutdown_callbacks(
|
||||
struct xlog *log)
|
||||
__releases(&log->l_icloglock)
|
||||
__acquires(&log->l_icloglock)
|
||||
{
|
||||
struct xlog_in_core *iclog;
|
||||
LIST_HEAD(cb_list);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user