aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorBrian Foster <[email protected]>2013-02-22 13:32:56 -0500
committerBen Myers <[email protected]>2013-03-18 13:30:38 -0500
commit83cdadd8b0559c93728d065d23ca3485fa567e54 (patch)
tree1d780da1a8a49c9eed1d390b92ece519f1fe9c3f /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parent6dbe51c251a327e012439c4772097a13df43c5b8 (diff)
xfs: fix potential infinite loop in xfs_iomap_prealloc_size()
If freesp == 0, we could end up in an infinite loop while squashing the preallocation. Break the loop when we've killed the prealloc entirely. Signed-off-by: Brian Foster <[email protected]> Reviewed-by: Dave Chinner <[email protected]> Signed-off-by: Ben Myers <[email protected]> (cherry picked from commit e78c420bfc2608bb5f9a0b9165b1071c1e31166a)
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions