commit | 9a42bc2bdecd04737f7ffd695fbf1ba11f8c7451 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <djwong@kernel.org> | Wed Jun 14 12:10:25 2023 -0700 |
committer | Darrick J. Wong <djwong@kernel.org> | Tue Sep 12 13:00:09 2023 -0700 |
tree | 930876f9a4b9c55ddf6f5358d21b103360f7993d | |
parent | e2927734471dd3319b1d99b35eb425f8d85ecf7b [diff] |
xfs: simplify returns in xchk_bmap Remove the pointless goto and return code in xchk_bmap, since it only serves to obscure what's going on in the function. Instead, return whichever error code is appropriate there. For nonexistent forks, this should have been ENOENT. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Dave Chinner <dchinner@redhat.com>