From f62ff8a8df7ab7c0c551b650f9bd2f1a87b8dc71 Mon Sep 17 00:00:00 2001 From: Pavan Sondur Date: Tue, 5 Oct 2010 04:48:27 +0000 Subject: features/locks: cluster/afr: Misc fixes for lock recovery. Signed-off-by: Pavan Vilas Sondur Signed-off-by: Vijay Bellur BUG: 865 (Add locks recovery support in GlusterFS) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=865 --- libglusterfs/src/glusterfs.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'libglusterfs') diff --git a/libglusterfs/src/glusterfs.h b/libglusterfs/src/glusterfs.h index c8768c73e84..5344dd64496 100644 --- a/libglusterfs/src/glusterfs.h +++ b/libglusterfs/src/glusterfs.h @@ -161,6 +161,7 @@ typedef enum { GF_LK_RESLK_LCK, GF_LK_RESLK_LCKW, GF_LK_RESLK_UNLCK, + GF_LK_GETLK_FD, } glusterfs_lk_cmds_t; @@ -175,12 +176,9 @@ typedef enum { F_RESLK_LCK = 200, F_RESLK_LCKW, F_RESLK_UNLCK, + F_GETLK_FD, } glusterfs_lk_recovery_cmds_t; -typedef enum { - F_GETLK_FD = 250, -} glusterfs_lk_rec_types_t; - typedef enum { GF_LOCK_POSIX, GF_LOCK_INTERNAL -- cgit