Unverified Commit a1f5225e authored by Nils Goroll's avatar Nils Goroll

Make memstv assertions even more precise

parent 3a83052b
......@@ -74,6 +74,7 @@ static void
stvfe_oc_dle_submit(struct fellow_fd *ffd, struct objcore *oc,
enum dle_type type);
static inline int stvfe_oc_inlog(struct objcore *oc);
static const struct stevedore sfeexp_stevedore;
/* Compat ------------------------------------------------------------
*/
......@@ -241,6 +242,7 @@ stv_stvfe(const struct stevedore *stv)
#define assert_memstv(stvfe, stv) do { \
assert(stv != NULL); \
assert(stv != stvfe->dskstv); \
assert(stv != &sfeexp_stevedore); \
assert(stv == stvfe->memstv); \
} while (0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment