diff options
author | 2014-10-02 09:05:44 +1000 | |
---|---|---|
committer | 2014-10-02 09:05:44 +1000 | |
commit | 8c15612546bce1ecafb7dee3cce8a2a9b560e15e (patch) | |
tree | a0a7725332387d0a1bf9632e307343a7562544e3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | xfs: check xfs_buf_read_uncached returns correctly (diff) | |
download | wireguard-linux-8c15612546bce1ecafb7dee3cce8a2a9b560e15e.tar.xz wireguard-linux-8c15612546bce1ecafb7dee3cce8a2a9b560e15e.zip |
xfs: simplify xfs_zero_remaining_bytes
xfs_zero_remaining_bytes() open codes a log of buffer manupulations
to do a read forllowed by a write. It can simply be replaced by an
uncached read followed by a xfs_bwrite() call.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions