diff options
author | Christoph Hellwig <hch@lst.de> | 2018-07-17 16:51:50 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2018-07-30 07:57:48 -0700 |
commit | 1216b58b353fbf5529454b442cebb3c8f14d93da (patch) | |
tree | f122f8c27bb7936835bf654fad5d377861513716 /fs/xfs/xfs_aops.c | |
parent | fcacbc3f511338842dd177e2d53d457f9741543b (diff) | |
download | linux-1216b58b353fbf5529454b442cebb3c8f14d93da.tar.bz2 |
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>
Diffstat (limited to 'fs/xfs/xfs_aops.c')
0 files changed, 0 insertions, 0 deletions