OSDN Git Service

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)
commitf755979355d46ef088f9c9fdb5d11c4a425e738e
treec613dcf81174e97931b2c71f489d6afcc453c557
parentcf085a1b5d221448c0c7425f3b9b9a9e2134e53e
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