aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorPaul Menage <[email protected]>2009-05-26 20:47:02 -0700
committerDavid S. Miller <[email protected]>2009-05-26 20:47:02 -0700
commite65fcfd63a9a62baa5708484ff8edbe56eb3e7ec (patch)
tree0d21a21c2b87ef1c8db600d6abed3ba3e22cdaef /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parent7682455ec36fce70bdbad9f739de05060dedfa27 (diff)
cls_cgroup: read classid atomically in classifier
Avoid reading the unsynchronized value cs->classid multiple times, since it could change concurrently from non-zero to zero; this would result in the classifier returning a positive result with a bogus (zero) classid. Signed-off-by: Paul Menage <[email protected]> Reviewed-by: Li Zefan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions