commit | 1216b58b353fbf5529454b442cebb3c8f14d93da | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Jul 17 16:51:50 2018 -0700 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Mon Jul 30 07:57:48 2018 -0700 |
tree | f122f8c27bb7936835bf654fad5d377861513716 | |
parent | fcacbc3f511338842dd177e2d53d457f9741543b [diff] |
xfs: simplify xfs_idata_realloc Streamline the code and take advantage of the fact that kmem_realloc through krealloc will be have like a normal allocation if passing in a NULL old pointer. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>