xfs: kill ialloced in xfs_dialloc()
authorGao Xiang <hsiangkao@redhat.com>
Wed, 9 Dec 2020 18:05:17 +0000 (10:05 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Sat, 12 Dec 2020 18:48:25 +0000 (10:48 -0800)
commit3937493c502566d90a74c3439ebdb663d9380cc3
tree1e576e96dc988dcf0886c2b50f798eb39f5809b9
parent8d822dc38ad781b1bfa5c03227da80dbd87e9959
xfs: kill ialloced in xfs_dialloc()

It's enough to just use return code, and get rid of an argument.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Gao Xiang <hsiangkao@redhat.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/libxfs/xfs_ialloc.c