diff options
| author | kernel test robot <[email protected]> | 2021-02-11 01:27:31 +0000 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2021-02-11 01:28:13 +0000 |
| commit | 8646b982baf7d389a140ca3974974a4cbbc3f171 (patch) | |
| tree | 9b7e9af7a88f7d329b538df3170183794d09da9b /scripts/gcc-plugins/structleak_plugin.c | |
| parent | xfs: restore shutdown check in mapped write fault path (diff) | |
| download | kernel-8646b982baf7d389a140ca3974974a4cbbc3f171.tar.gz kernel-8646b982baf7d389a140ca3974974a4cbbc3f171.zip | |
xfs: fix boolreturn.cocci warnings
fs/xfs/xfs_log.c:1062:9-10: WARNING: return of 0/1 in function 'xfs_log_need_covered' with return type bool
Return statements in functions returning bool should use
true/false instead of 1/0.
Generated by: scripts/coccinelle/misc/boolreturn.cocci
Fixes: 37444fc4cc39 ("xfs: lift writable fs check up into log worker task")
CC: Brian Foster <[email protected]>
Reported-by: kernel test robot <[email protected]>
Signed-off-by: kernel test robot <[email protected]>
Reviewed-by: Brian Foster <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/structleak_plugin.c')
0 files changed, 0 insertions, 0 deletions
