mirror of
https://github.com/torvalds/linux.git
synced 2026-09-13 15:40:03 +02:00
xfs: add a lock annotation to xlog_cil_push_background
This is required to make the clang context analysis happy, which is more strict than the old sparse lock context tracking. 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
2d1b21fcc9
commit
166089a856
|
|
@ -1627,6 +1627,7 @@ xlog_cil_push_work(
|
|||
static void
|
||||
xlog_cil_push_background(
|
||||
struct xlog *log)
|
||||
__releases_shared(&log->l_cilp->xc_ctx_lock)
|
||||
{
|
||||
struct xfs_cil *cil = log->l_cilp;
|
||||
int space_used = atomic_read(&cil->xc_ctx->space_used);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user