diff options
author | Lars Ellenberg <lars.ellenberg@linbit.com> | 2010-08-11 14:42:55 -0400 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2010-10-14 12:38:16 -0400 |
commit | c36c3ced692b38d0cf90a5e6f875be2f9ebbc037 (patch) | |
tree | e8384ed0c80e2ce057006d83944a299445811380 /drivers/block/drbd/drbd_int.h | |
parent | 85719573dd716bc2ac3e098b44adfed884250bab (diff) |
drbd: let drbd_free_ee implicitly free any digest
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'drivers/block/drbd/drbd_int.h')
-rw-r--r-- | drivers/block/drbd/drbd_int.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/block/drbd/drbd_int.h b/drivers/block/drbd/drbd_int.h index b0cbfa143775..3a941744f069 100644 --- a/drivers/block/drbd/drbd_int.h +++ b/drivers/block/drbd/drbd_int.h | |||
@@ -796,12 +796,16 @@ enum { | |||
796 | * if any of those fail, we set this flag atomically | 796 | * if any of those fail, we set this flag atomically |
797 | * from the endio callback */ | 797 | * from the endio callback */ |
798 | __EE_WAS_ERROR, | 798 | __EE_WAS_ERROR, |
799 | |||
800 | /* This ee has a pointer to a digest instead of a block id */ | ||
801 | __EE_HAS_DIGEST, | ||
799 | }; | 802 | }; |
800 | #define EE_CALL_AL_COMPLETE_IO (1<<__EE_CALL_AL_COMPLETE_IO) | 803 | #define EE_CALL_AL_COMPLETE_IO (1<<__EE_CALL_AL_COMPLETE_IO) |
801 | #define EE_MAY_SET_IN_SYNC (1<<__EE_MAY_SET_IN_SYNC) | 804 | #define EE_MAY_SET_IN_SYNC (1<<__EE_MAY_SET_IN_SYNC) |
802 | #define EE_IS_BARRIER (1<<__EE_IS_BARRIER) | 805 | #define EE_IS_BARRIER (1<<__EE_IS_BARRIER) |
803 | #define EE_RESUBMITTED (1<<__EE_RESUBMITTED) | 806 | #define EE_RESUBMITTED (1<<__EE_RESUBMITTED) |
804 | #define EE_WAS_ERROR (1<<__EE_WAS_ERROR) | 807 | #define EE_WAS_ERROR (1<<__EE_WAS_ERROR) |
808 | #define EE_HAS_DIGEST (1<<__EE_HAS_DIGEST) | ||
805 | 809 | ||
806 | /* global flag bits */ | 810 | /* global flag bits */ |
807 | enum { | 811 | enum { |