From 8e2a19e732d3d0f90cf425304c2c88c2b478db74 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Thu, 18 Jul 2002 19:06:46 -0700 Subject: [PATCH] MD - 27 - Remove state field from multipath mp_bh structure. Remove state field from multipath mp_bh structure. The MPBH_Uptodate flag is set but never used, The MPBH_SyncPhase flag was never used. These a both legacy from the copying of raid1.c MPBH_PreAlloc is no longer needed as due to use of mempools, so the state field can go... --- include/linux/raid/multipath.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'include/linux/raid') diff --git a/include/linux/raid/multipath.h b/include/linux/raid/multipath.h index 657eb913adba..f34b54b83767 100644 --- a/include/linux/raid/multipath.h +++ b/include/linux/raid/multipath.h @@ -49,14 +49,9 @@ struct multipath_bh { * used from IRQ handlers */ int cmd; - unsigned long state; mddev_t *mddev; struct bio *master_bio; struct bio *bio; struct multipath_bh *next_mp; /* next for retry or in free list */ }; -/* bits for multipath_bh.state */ -#define MPBH_Uptodate 1 -#define MPBH_SyncPhase 2 -#define MPBH_PreAlloc 3 /* this was pre-allocated, add to free list */ #endif -- cgit v1.2.3