aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2013-01-20 18:02:58 +0300
committerJaegeuk Kim <[email protected]>2013-01-22 10:49:00 +0900
commitd8b79b2f94600262fcfbffbe3df7fd3c83c6c51b (patch)
treecfb822b441a239f0b94fc96042b7d4a11043c747 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parent9af45ef5ab8ce4a13c553200dc15509441fbd68f (diff)
f2fs: use _safe() version of list_for_each
This is calling list_del() inside a loop which is a problem when we try move to the next item on the list. I've converted it to use the _safe version. And also, as a cleanup, I've converted it to use list_for_each_entry instead of list_for_each. Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Dmitry Torokhov <[email protected]> Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions