]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: annotate functions that trip static checker locking checks
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 6 Nov 2019 16:41:20 +0000 (08:41 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Sun, 10 Nov 2019 18:21:58 +0000 (10:21 -0800)
commit926800cb1231c77ccb5643670c37f7d29ec13a47
treec613dcf81174e97931b2c71f489d6afcc453c557
parent9bc34b9e3450bffd931b7908f49122f1fc29f0bc
xfs: annotate functions that trip static checker locking checks

Add some lock annotations to helper functions that seem to have
unbalanced locking that confuses the static analyzers.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_log.c
fs/xfs/xfs_log_priv.h