diff options
Diffstat (limited to 'libglusterfs/src/glusterfs.h')
-rw-r--r-- | libglusterfs/src/glusterfs.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libglusterfs/src/glusterfs.h b/libglusterfs/src/glusterfs.h index 691492e10a5..86c3b2b81d9 100644 --- a/libglusterfs/src/glusterfs.h +++ b/libglusterfs/src/glusterfs.h @@ -501,6 +501,12 @@ struct gf_flock { gf_lkowner_t l_owner; }; +typedef struct lock_migration_info { + struct list_head list; + struct gf_flock flock; + char *client_uid; +} lock_migration_info_t; + #define GF_MUST_CHECK __attribute__((warn_unused_result)) /* * Some macros (e.g. ALLOC_OR_GOTO) set variables in function scope, but the @@ -540,4 +546,7 @@ glusterfs_graph_t *glusterfs_graph_new (); int glusterfs_graph_reconfigure (glusterfs_graph_t *oldgraph, glusterfs_graph_t *newgraph); +void +gf_free_mig_locks (lock_migration_info_t *locks); + #endif /* _GLUSTERFS_H */ |