aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/unlinked.h
blob: 51e77f88d74f1e59223e5599e11e7ab987b7c7e7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
 * Copyright (C) Sistina Software, Inc.  1997-2003 All rights reserved.
 * Copyright (C) 2004-2005 Red Hat, Inc.  All rights reserved.
 *
 * This copyrighted material is made available to anyone wishing to use,
 * modify, copy, or redistribute it subject to the terms and conditions
 * of the GNU General Public License v.2.
 */

#ifndef __UNLINKED_DOT_H__
#define __UNLINKED_DOT_H__

int gfs2_unlinked_get(struct gfs2_sbd *sdp, struct gfs2_unlinked **ul);
void gfs2_unlinked_put(struct gfs2_sbd *sdp, struct gfs2_unlinked *ul);

int gfs2_unlinked_ondisk_add(struct gfs2_sbd *sdp, struct gfs2_unlinked *ul);
int gfs2_unlinked_ondisk_munge(struct gfs2_sbd *sdp, struct gfs2_unlinked *ul);
int gfs2_unlinked_ondisk_rm(struct gfs2_sbd *sdp, struct gfs2_unlinked *ul);

int gfs2_unlinked_dealloc(struct gfs2_sbd *sdp);

int gfs2_unlinked_init(struct gfs2_sbd *sdp);
void gfs2_unlinked_cleanup(struct gfs2_sbd *sdp);

#endif /* __UNLINKED_DOT_H__ */