summaryrefslogtreecommitdiffstats
path: root/src/basic/btrfs.h
blob: 38be9d2b3b19bf3d4d329f4ac63435ec3efb9221 (plain)
1
2
3
4
5
6
7
8
9
/* SPDX-License-Identifier: LGPL-2.1-or-later */

#include <fcntl.h>

int btrfs_validate_subvolume_name(const char *name);

int btrfs_subvol_make(int dir_fd, const char *path);

int btrfs_subvol_make_fallback(int dir_fd, const char *path, mode_t mode);