]> sourceware.org Git - lvm2.git/blob - lib/activate/fs.h
thin: fix recent commits
[lvm2.git] / lib / activate / fs.h
1 /*
2 * Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved.
3 * Copyright (C) 2004-2007 Red Hat, Inc. All rights reserved.
4 *
5 * This file is part of LVM2.
6 *
7 * This copyrighted material is made available to anyone wishing to use,
8 * modify, copy, or redistribute it subject to the terms and conditions
9 * of the GNU Lesser General Public License v.2.1.
10 *
11 * You should have received a copy of the GNU Lesser General Public License
12 * along with this program; if not, write to the Free Software Foundation,
13 * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
14 */
15
16 #ifndef _LVM_FS_H
17 #define _LVM_FS_H
18
19 #include "metadata.h"
20
21 /*
22 * These calls, private to the activate unit, set
23 * up the volume group directory in /dev and the
24 * symbolic links to the dm device.
25 */
26 int fs_add_lv(const struct logical_volume *lv, const char *dev);
27 int fs_del_lv(const struct logical_volume *lv);
28 int fs_del_lv_byname(const char *dev_dir, const char *vg_name,
29 const char *lv_name, int check_udev);
30 int fs_rename_lv(struct logical_volume *lv, const char *dev,
31 const char *old_vgname, const char *old_lvname);
32 /* void fs_unlock(void); moved to activate.h */
33 uint32_t fs_get_cookie(void);
34 void fs_set_cookie(uint32_t cookie);
35 void fs_set_create(void);
36 int fs_has_non_delete_ops(void);
37
38 #endif
This page took 0.036407 seconds and 5 git commands to generate.