aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi
diff options
context:
space:
mode:
authorMimi Zohar <[email protected]>2009-09-04 13:08:46 -0400
committerJames Morris <[email protected]>2009-09-07 11:54:58 +1000
commitacd0c935178649f72c44ec49ca83bee35ce1f79e (patch)
treec0cb2f8fbbaa54567785b5430e5be8c8b51f5724 /drivers/scsi/mpt2sas/mpi
parente07cccf4046978df10f2e13fe2b99b2f9b3a65db (diff)
IMA: update ima_counts_put
- As ima_counts_put() may be called after the inode has been freed, verify that the inode is not NULL, before dereferencing it. - Maintain the IMA file counters in may_open() properly, decrementing any counter increments on subsequent errors. Reported-by: Ciprian Docan <[email protected]> Reported-by: J.R. Okajima <[email protected]> Signed-off-by: Mimi Zohar <[email protected]> Acked-by: Eric Paris <[email protected] Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi')
0 files changed, 0 insertions, 0 deletions