]> sourceware.org Git - lvm2.git/blame - lib/activate/fs.h
thin: fix recent commits
[lvm2.git] / lib / activate / fs.h
CommitLineData
4f0a4a6a 1/*
6606c3ae 2 * Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved.
be684599 3 * Copyright (C) 2004-2007 Red Hat, Inc. All rights reserved.
4f0a4a6a 4 *
6606c3ae
AK
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
be684599 9 * of the GNU Lesser General Public License v.2.1.
6606c3ae 10 *
be684599 11 * You should have received a copy of the GNU Lesser General Public License
6606c3ae
AK
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
4f0a4a6a
JT
14 */
15
16#ifndef _LVM_FS_H
17#define _LVM_FS_H
18
19#include "metadata.h"
20
0d3593f5
JT
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 */
f7dd6d84
AK
26int fs_add_lv(const struct logical_volume *lv, const char *dev);
27int fs_del_lv(const struct logical_volume *lv);
cda69e17
PR
28int fs_del_lv_byname(const char *dev_dir, const char *vg_name,
29 const char *lv_name, int check_udev);
3ad47d16 30int fs_rename_lv(struct logical_volume *lv, const char *dev,
cda69e17 31 const char *old_vgname, const char *old_lvname);
937a21f0 32/* void fs_unlock(void); moved to activate.h */
f6fdfd56
ZK
33uint32_t fs_get_cookie(void);
34void fs_set_cookie(uint32_t cookie);
7f815706 35void fs_set_create(void);
56cab8cc 36int fs_has_non_delete_ops(void);
4a624ca0 37
4f0a4a6a 38#endif
This page took 0.082688 seconds and 5 git commands to generate.