db/insert_manual_states: don't insert duplicate states
commit73c930ff350e1c7c073afbb2003bacb15ad73b93
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 12 Nov 2020 14:23:07 +0000 (12 17:23 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 12 Nov 2020 14:23:07 +0000 (12 17:23 +0300)
treea5cb182ebcdbc4ec04b9a1132381a7ed42e5dc74
parentf3efca9066846b195b3f2877af42dbee05ed9ee2
db/insert_manual_states: don't insert duplicate states

The bug here is that apparently I was inserting an unlock into
btrfs_tree_unlock() manually, but then it started getting inserted
automatically as well so it was duplicate.  The lead to "double unlock"
false positives.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch_data/db/insert_manual_states.pl