diff options
Diffstat (limited to 'fs/ocfs2/dlm/dlmcommon.h')
-rw-r--r-- | fs/ocfs2/dlm/dlmcommon.h | 42 |
1 files changed, 28 insertions, 14 deletions
diff --git a/fs/ocfs2/dlm/dlmcommon.h b/fs/ocfs2/dlm/dlmcommon.h index e95ecb2aaf14..2df6fde3e652 100644 --- a/fs/ocfs2/dlm/dlmcommon.h +++ b/fs/ocfs2/dlm/dlmcommon.h | |||
@@ -707,16 +707,20 @@ void dlm_lock_put(struct dlm_lock *lock); | |||
707 | void dlm_lock_attach_lockres(struct dlm_lock *lock, | 707 | void dlm_lock_attach_lockres(struct dlm_lock *lock, |
708 | struct dlm_lock_resource *res); | 708 | struct dlm_lock_resource *res); |
709 | 709 | ||
710 | int dlm_create_lock_handler(struct o2net_msg *msg, u32 len, void *data); | 710 | int dlm_create_lock_handler(struct o2net_msg *msg, u32 len, void *data, |
711 | int dlm_convert_lock_handler(struct o2net_msg *msg, u32 len, void *data); | 711 | void **ret_data); |
712 | int dlm_proxy_ast_handler(struct o2net_msg *msg, u32 len, void *data); | 712 | int dlm_convert_lock_handler(struct o2net_msg *msg, u32 len, void *data, |
713 | void **ret_data); | ||
714 | int dlm_proxy_ast_handler(struct o2net_msg *msg, u32 len, void *data, | ||
715 | void **ret_data); | ||
713 | 716 | ||
714 | void dlm_revert_pending_convert(struct dlm_lock_resource *res, | 717 | void dlm_revert_pending_convert(struct dlm_lock_resource *res, |
715 | struct dlm_lock *lock); | 718 | struct dlm_lock *lock); |
716 | void dlm_revert_pending_lock(struct dlm_lock_resource *res, | 719 | void dlm_revert_pending_lock(struct dlm_lock_resource *res, |
717 | struct dlm_lock *lock); | 720 | struct dlm_lock *lock); |
718 | 721 | ||
719 | int dlm_unlock_lock_handler(struct o2net_msg *msg, u32 len, void *data); | 722 | int dlm_unlock_lock_handler(struct o2net_msg *msg, u32 len, void *data, |
723 | void **ret_data); | ||
720 | void dlm_commit_pending_cancel(struct dlm_lock_resource *res, | 724 | void dlm_commit_pending_cancel(struct dlm_lock_resource *res, |
721 | struct dlm_lock *lock); | 725 | struct dlm_lock *lock); |
722 | void dlm_commit_pending_unlock(struct dlm_lock_resource *res, | 726 | void dlm_commit_pending_unlock(struct dlm_lock_resource *res, |
@@ -871,16 +875,26 @@ void dlm_lockres_release_ast(struct dlm_ctxt *dlm, | |||
871 | struct dlm_lock_resource *res); | 875 | struct dlm_lock_resource *res); |
872 | void __dlm_lockres_reserve_ast(struct dlm_lock_resource *res); | 876 | void __dlm_lockres_reserve_ast(struct dlm_lock_resource *res); |
873 | 877 | ||
874 | int dlm_master_request_handler(struct o2net_msg *msg, u32 len, void *data); | 878 | int dlm_master_request_handler(struct o2net_msg *msg, u32 len, void *data, |
875 | int dlm_assert_master_handler(struct o2net_msg *msg, u32 len, void *data); | 879 | void **ret_data); |
876 | int dlm_deref_lockres_handler(struct o2net_msg *msg, u32 len, void *data); | 880 | int dlm_assert_master_handler(struct o2net_msg *msg, u32 len, void *data, |
877 | int dlm_migrate_request_handler(struct o2net_msg *msg, u32 len, void *data); | 881 | void **ret_data); |
878 | int dlm_mig_lockres_handler(struct o2net_msg *msg, u32 len, void *data); | 882 | int dlm_deref_lockres_handler(struct o2net_msg *msg, u32 len, void *data, |
879 | int dlm_master_requery_handler(struct o2net_msg *msg, u32 len, void *data); | 883 | void **ret_data); |
880 | int dlm_request_all_locks_handler(struct o2net_msg *msg, u32 len, void *data); | 884 | int dlm_migrate_request_handler(struct o2net_msg *msg, u32 len, void *data, |
881 | int dlm_reco_data_done_handler(struct o2net_msg *msg, u32 len, void *data); | 885 | void **ret_data); |
882 | int dlm_begin_reco_handler(struct o2net_msg *msg, u32 len, void *data); | 886 | int dlm_mig_lockres_handler(struct o2net_msg *msg, u32 len, void *data, |
883 | int dlm_finalize_reco_handler(struct o2net_msg *msg, u32 len, void *data); | 887 | void **ret_data); |
888 | int dlm_master_requery_handler(struct o2net_msg *msg, u32 len, void *data, | ||
889 | void **ret_data); | ||
890 | int dlm_request_all_locks_handler(struct o2net_msg *msg, u32 len, void *data, | ||
891 | void **ret_data); | ||
892 | int dlm_reco_data_done_handler(struct o2net_msg *msg, u32 len, void *data, | ||
893 | void **ret_data); | ||
894 | int dlm_begin_reco_handler(struct o2net_msg *msg, u32 len, void *data, | ||
895 | void **ret_data); | ||
896 | int dlm_finalize_reco_handler(struct o2net_msg *msg, u32 len, void *data, | ||
897 | void **ret_data); | ||
884 | int dlm_do_master_requery(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, | 898 | int dlm_do_master_requery(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, |
885 | u8 nodenum, u8 *real_master); | 899 | u8 nodenum, u8 *real_master); |
886 | 900 | ||