Tom Rix 4f55dc2a98 f2fs: return success if there is no work to do
Static analysis reports this problem
file.c:3206:2: warning: Undefined or garbage value returned to caller
        return err;
        ^~~~~~~~~~

err is only set if there is some work to do.  Because the loop returns
immediately on an error, if all the work was done, a 0 would be returned.
Instead of checking the unlikely case that there was no work to do,
change the return of err to 0.

Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2021-05-26 07:00:35 -07:00
..
2021-04-10 10:36:39 -07:00
2021-01-24 14:27:20 +01:00
2021-05-14 11:22:08 -07:00
2021-04-10 10:36:39 -07:00
2021-03-30 18:48:56 -07:00
2021-01-27 15:20:07 -08:00
2021-05-04 18:03:38 -07:00
2021-05-04 18:03:38 -07:00
2021-05-04 18:03:38 -07:00
2021-04-10 10:36:39 -07:00