]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: trivial xfs_btree_del_cursor cleanups
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 19 Jul 2018 19:26:31 +0000 (12:26 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 23 Jul 2018 16:08:00 +0000 (09:08 -0700)
commitaab083e1bac3dbfc4bb0ed2d7fa5d37be7aa2adb
tree584698190b272fbe00283d5b902eca1009a1e075
parent87b591665752a97e4ee83cc98fccb80b4c612df0
xfs: trivial xfs_btree_del_cursor cleanups

The error argument to xfs_btree_del_cursor already understands the
"nonzero for error" semantics, so remove pointless error testing in the
callers and pass it directly.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
12 files changed:
fs/xfs/libxfs/xfs_bmap.c
fs/xfs/libxfs/xfs_bmap_btree.c
fs/xfs/libxfs/xfs_ialloc.c
fs/xfs/libxfs/xfs_ialloc_btree.c
fs/xfs/libxfs/xfs_refcount.c
fs/xfs/libxfs/xfs_rmap.c
fs/xfs/scrub/bmap.c
fs/xfs/scrub/repair.c
fs/xfs/xfs_discard.c
fs/xfs/xfs_fsmap.c
fs/xfs/xfs_itable.c
fs/xfs/xfs_reflink.c