diff options
author | 2020-05-18 10:29:27 -0700 | |
---|---|---|
committer | 2020-05-19 09:40:59 -0700 | |
commit | ef8385128d4b31a382d496b1c433697993bd0bfb (patch) | |
tree | 96896d29005b32ec5a38d7ca4593364c098615a6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | xfs: move the fork format fields into struct xfs_ifork (diff) | |
download | linux-rng-ef8385128d4b31a382d496b1c433697993bd0bfb.tar.xz linux-rng-ef8385128d4b31a382d496b1c433697993bd0bfb.zip |
xfs: cleanup xfs_idestroy_fork
Move freeing the dynamically allocated attr and COW fork, as well
as zeroing the pointers where actually needed into the callers, and
just pass the xfs_ifork structure to xfs_idestroy_fork. Also simplify
the kmem_free calls by not checking for NULL first.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chandan Babu R <chandanrlinux@gmail.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions