[lustre-devel] [PATCH 518/622] lustre: obd: discard unused enum

James Simmons jsimmons at infradead.org
Thu Feb 27 13:16:26 PST 2020


From: NeilBrown <neilb at suse.de>

The values in this enum are never used - so discard it.

Signed-off-by: NeilBrown <neilb at suse.de>
Reviewed-by: James Simmons <jsimmons at infradaed.org>
---
 fs/lustre/include/obd.h | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/fs/lustre/include/obd.h b/fs/lustre/include/obd.h
index 4ba70c7..5f5a595 100644
--- a/fs/lustre/include/obd.h
+++ b/fs/lustre/include/obd.h
@@ -133,14 +133,6 @@ struct timeout_item {
 #define OSC_MAX_DIRTY_MB_MAX	2048	/* arbitrary, but < MAX_LONG bytes */
 #define OSC_DEFAULT_RESENDS	10
 
-/* possible values for fo_sync_lock_cancel */
-enum {
-	NEVER_SYNC_ON_CANCEL	= 0,
-	BLOCKING_SYNC_ON_CANCEL	= 1,
-	ALWAYS_SYNC_ON_CANCEL	= 2,
-	NUM_SYNC_ON_CANCEL_STATES
-};
-
 enum obd_cl_sem_lock_class {
 	OBD_CLI_SEM_NORMAL,
 	OBD_CLI_SEM_MGC,
-- 
1.8.3.1



More information about the lustre-devel mailing list