]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: change some error-less functions to void types
authorEric Sandeen <sandeen@sandeen.net>
Thu, 2 May 2019 03:26:30 +0000 (20:26 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 2 May 2019 03:26:30 +0000 (20:26 -0700)
commit2dab7470327e9bf841a38635f340e82ee20b88cd
tree7209ecf8be203230e30b679156767e63ff88ebd1
parentbeafe1286141ade684e4a119945a2d35a3fe63b3
xfs: change some error-less functions to void types

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>
fs/xfs/libxfs/xfs_dquot_buf.c
fs/xfs/libxfs/xfs_quota_defs.h
fs/xfs/libxfs/xfs_sb.c
fs/xfs/libxfs/xfs_sb.h
fs/xfs/xfs_fsops.c
fs/xfs/xfs_fsops.h
fs/xfs/xfs_inode.c
fs/xfs/xfs_ioctl.c
fs/xfs/xfs_ioctl32.c
fs/xfs/xfs_log_recover.c
fs/xfs/xfs_super.c