xfs: fix uninitialized variable in xfs_scrub_quota
commiteda6bc27ccc852d34393739009486932f3ba70ae
authorEric Sandeen <sandeen@redhat.com>
Tue, 28 Nov 2017 02:23:32 +0000 (27 18:23 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 28 Nov 2017 16:57:11 +0000 (28 08:57 -0800)
treeb2806edb817b1be0542d2cbd7944b4b6cae3298d
parentd41c6172bd4031979eab722c265a2e5764383c3c
xfs: fix uninitialized variable in xfs_scrub_quota

On the first pass through the while(1) loop, we get to
xfs_scrub_should_terminate() which can test the uninitialized
error variable.

Fixes-coverity-id: 1423737
Fixes: c2fc338c ("xfs: scrub quota information")
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/scrub/quota.c