aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_buf.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2014-10-02 09:05:44 +1000
committerDave Chinner <david@fromorbit.com>2014-10-02 09:05:44 +1000
commit8c15612546bce1ecafb7dee3cce8a2a9b560e15e (patch)
treea0a7725332387d0a1bf9632e307343a7562544e3 /fs/xfs/xfs_buf.c
parentxfs: check xfs_buf_read_uncached returns correctly (diff)
downloadlinux-dev-8c15612546bce1ecafb7dee3cce8a2a9b560e15e.tar.xz
linux-dev-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 'fs/xfs/xfs_buf.c')
0 files changed, 0 insertions, 0 deletions