nospec: don't fill the DB up with garbage
commit7e71c9ed38173999d9c1b4114f2d86c2fd3ebb3e
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 11 Sep 2018 14:05:15 +0000 (11 17:05 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 11 Sep 2018 14:05:15 +0000 (11 17:05 +0300)
treed0b010313bf26efec9b570ddedc758f71f0253df
parent39952c67cb3f1e99e6d55b46dc68c6efcb07d831
nospec: don't fill the DB up with garbage

The problem is that everything was getting marked as nospec.  I don't
really know why this is...  The get_user_stree() was only supposed to
return user data so this should have worked from the beginning.

Anyway, I took the big hammer approach to fixing it and add a second check
to make sure that everything we save in the DB is also recorded as user
data.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
check_nospec.c