diff options
| author | [email protected] <[email protected]> | 2012-04-17 05:55:04 +0000 |
|---|---|---|
| committer | James Bottomley <[email protected]> | 2012-06-06 03:38:56 +0000 |
| commit | a2c658505bf5c75516ee0a79287223e86a2474af (patch) | |
| tree | 9fe23d2db75e2a24cae14ad8c6985f6d0b5e8be4 /fs/jbd2/commit.c | |
| parent | Pull 'for-linus' branches of git://git.kernel.org/pub/scm/linux/kernel/git/vi... (diff) | |
| download | kernel-a2c658505bf5c75516ee0a79287223e86a2474af.tar.gz kernel-a2c658505bf5c75516ee0a79287223e86a2474af.zip | |
[SCSI] mpt2sas: Fix unsafe using smp_processor_id() in preemptible
When CONFIG_DEBUG_PREEMPT is enabled, bug is observed in the smp_processor_id().
This is because smp_processor_id() is not called in preempt safe condition.
To fix this issue, use raw_smp_processor_id instead of smp_processor_id.
Signed-off-by: Nagalakshmi Nandigama <[email protected]>
CC: [email protected]
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
