diff options
author | Lars Ellenberg <lars.ellenberg@linbit.com> | 2011-05-16 15:31:45 +0200 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2011-05-24 10:06:44 +0200 |
commit | 76727f684aa2d6a2dc59a7e5cf77e092a1bf4fb6 (patch) | |
tree | 59e80cf30c5cbf33f5179889025b8b0d7afdd970 /crypto/algif_hash.c | |
parent | d2e17807e3799bae24664a92f4d2d3dade021e00 (diff) | |
download | linux-76727f684aa2d6a2dc59a7e5cf77e092a1bf4fb6.tar.gz linux-76727f684aa2d6a2dc59a7e5cf77e092a1bf4fb6.tar.bz2 linux-76727f684aa2d6a2dc59a7e5cf77e092a1bf4fb6.zip |
drbd: fix potential activity log refcount imbalance in error path
It is no longer sufficient to trigger on local WRITE,
we need to check on (rq_state & RQ_IN_ACT_LOG)
before calling drbd_al_complete_io also in the error path.
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'crypto/algif_hash.c')
0 files changed, 0 insertions, 0 deletions