diff options
author | Colin Ian King <[email protected]> | 2018-01-12 08:47:50 -0800 |
---|---|---|
committer | Darrick J. Wong <[email protected]> | 2018-01-12 14:09:08 -0800 |
commit | a8789a5ae28f69d7f3791a0e74f8c44222f3108b (patch) | |
tree | f27ae2dadeb38c8a17e74b6e534e8a5afb67ba0e /include/linux/fpga/fpga-mgr.h | |
parent | 1da061899321c15500caec735f8998f4c1e1b48f (diff) |
xfs: fix check on struct_version for versions 4 or greater
It appears that the check for versions 4 or more is incorrect and is
off-by-one. Fix this.
Detected by CoverityScan, CID#1463775 ("Logically dead code")
Fixes: ac503a4cc9e8 ("xfs: refactor the geometry structure filling function")
Signed-off-by: Colin Ian King <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions