xref: /openbmc/linux/fs/dlm/dir.h (revision c900529f3d9161bfde5cca0754f83b4d3c3e0220)
12522fe45SThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-only */
2e7fd4179SDavid Teigland /******************************************************************************
3e7fd4179SDavid Teigland *******************************************************************************
4e7fd4179SDavid Teigland **
5e7fd4179SDavid Teigland **  Copyright (C) Sistina Software, Inc.  1997-2003  All rights reserved.
6e7fd4179SDavid Teigland **  Copyright (C) 2004-2005 Red Hat, Inc.  All rights reserved.
7e7fd4179SDavid Teigland **
8e7fd4179SDavid Teigland **
9e7fd4179SDavid Teigland *******************************************************************************
10e7fd4179SDavid Teigland ******************************************************************************/
11e7fd4179SDavid Teigland 
12e7fd4179SDavid Teigland #ifndef __DIR_DOT_H__
13e7fd4179SDavid Teigland #define __DIR_DOT_H__
14e7fd4179SDavid Teigland 
15e7fd4179SDavid Teigland int dlm_dir_nodeid(struct dlm_rsb *rsb);
16e7fd4179SDavid Teigland int dlm_hash2nodeid(struct dlm_ls *ls, uint32_t hash);
17c04fecb4SDavid Teigland void dlm_recover_dir_nodeid(struct dlm_ls *ls);
18c4f4e135SAlexander Aring int dlm_recover_directory(struct dlm_ls *ls, uint64_t seq);
19*11519351SAlexander Aring void dlm_copy_master_names(struct dlm_ls *ls, const char *inbuf, int inlen,
20e7fd4179SDavid Teigland 			   char *outbuf, int outlen, int nodeid);
21e7fd4179SDavid Teigland 
22e7fd4179SDavid Teigland #endif				/* __DIR_DOT_H__ */
23e7fd4179SDavid Teigland 
24