mtd: mtd_blkdevs: don't increase 'open' count on error path
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / fs / dlm / ast.h
blob8aa89c9b561100b2c332b17dcfa522025b7c696a
1 /******************************************************************************
2 *******************************************************************************
3 **
4 ** Copyright (C) 2005-2010 Red Hat, Inc. All rights reserved.
5 **
6 ** This copyrighted material is made available to anyone wishing to use,
7 ** modify, copy, or redistribute it subject to the terms and conditions
8 ** of the GNU General Public License v.2.
9 **
10 *******************************************************************************
11 ******************************************************************************/
13 #ifndef __ASTD_DOT_H__
14 #define __ASTD_DOT_H__
16 void dlm_del_ast(struct dlm_lkb *lkb);
17 int dlm_add_lkb_callback(struct dlm_lkb *lkb, uint32_t flags, int mode,
18 int status, uint32_t sbflags, uint64_t seq);
19 int dlm_rem_lkb_callback(struct dlm_ls *ls, struct dlm_lkb *lkb,
20 struct dlm_callback *cb, int *resid);
21 void dlm_add_ast(struct dlm_lkb *lkb, uint32_t flags, int mode, int status,
22 uint32_t sbflags);
24 void dlm_astd_wake(void);
25 int dlm_astd_start(void);
26 void dlm_astd_stop(void);
27 void dlm_astd_suspend(void);
28 void dlm_astd_resume(void);
30 #endif