aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2014-10-02 09:05:44 +1000
committerDave Chinner <[email protected]>2014-10-02 09:05:44 +1000
commit8c15612546bce1ecafb7dee3cce8a2a9b560e15e (patch)
treea0a7725332387d0a1bf9632e307343a7562544e3 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parentba3726742c1712c43c5a18245476f3fe9fe74773 (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 <[email protected]> Reviewed-by: Dave Chinner <[email protected]> Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions