]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: change some error-less functions to void types
authorEric Sandeen <sandeen@redhat.com>
Wed, 24 Jul 2019 19:54:07 +0000 (15:54 -0400)
committerEric Sandeen <sandeen@redhat.com>
Wed, 24 Jul 2019 19:54:07 +0000 (15:54 -0400)
commita37cde53f8e513672228ad68d594294cbe365aab
tree32d877bd76c1fec4d840570244a3deb9b587a5c1
parente9caede6e2f5691b18798d88e236314af8c72f20
xfs: change some error-less functions to void types

Source kernel commit: 910832697cf85536c7fe26edb8bc6f830c4b9bb6

There are several functions which have no opportunity to return
an error, and don't contain any ASSERTs which could be argued
to be better constructed as error cases.  So, make them voids
to simplify the callers.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
db/info.c
libxfs/xfs_dquot_buf.c
libxfs/xfs_quota_defs.h
libxfs/xfs_sb.c
libxfs/xfs_sb.h
mkfs/xfs_mkfs.c