commit | 8c15612546bce1ecafb7dee3cce8a2a9b560e15e | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@infradead.org> | Thu Oct 02 09:05:44 2014 +1000 |
committer | Dave Chinner <david@fromorbit.com> | Thu Oct 02 09:05:44 2014 +1000 |
tree | a0a7725332387d0a1bf9632e307343a7562544e3 | |
parent | ba3726742c1712c43c5a18245476f3fe9fe74773 [diff] |
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>