summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-02-27 04:30:44 +0300
committerDarrick J. Wong <darrick.wong@oracle.com>2020-03-03 07:55:55 +0300
commitf311d771a090f5cc96b65ab76737cbf13914bc0c (patch)
tree64a1570c104214c92b57f08321139d571cb8919a /tools/perf/scripts/python/export-to-postgresql.py
parente3a19cdea84a42d44ef42ff8b5459c903992bbf2 (diff)
downloadlinux-f311d771a090f5cc96b65ab76737cbf13914bc0c.tar.xz
xfs: clean up bufsize alignment in xfs_ioc_attr_list
Use the round_down macro, and use the size of the uint32 type we use in the callback that fills the buffer to make the code a little more clear - the size of it is always the same as int for platforms that Linux runs on. Suggested-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> 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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions