diff options
author | Swen Schillig <[email protected]> | 2008-11-26 18:07:39 +0100 |
---|---|---|
committer | James Bottomley <[email protected]> | 2008-12-01 10:17:50 -0600 |
commit | 0ac55aa90f2c3bd08e57e52a513b82b18ce0a5bc (patch) | |
tree | 0899a1087c0c4cde4d44cdcd651a6a36e6dbee96 /fs/jbd2/commit.c | |
parent | 26871c97d52e50dc574bd01967926650643b142a (diff) |
[SCSI] zfcp: eliminate race between validation and locking
The check of having a valid pointer was performed before the
processing was secured by the lock. Between those two steps the
pointer can turn invalid. During further processing another value is
used (referenced by the pointer described above) as a function pointer
which is never verified to be valid either, resulting under some
circumstances in an invalid function call. This patch is fixing both
issues.
Signed-off-by: Swen Schillig <[email protected]>
Signed-off-by: Christof Schmitt <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions