]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/basic/missing_loop.h
basic/missing: move BLKGETDISKSEQ to missing_fs.h
[thirdparty/systemd.git] / src / basic / missing_loop.h
CommitLineData
db9ecf05 1/* SPDX-License-Identifier: LGPL-2.1-or-later */
86c1c1f3
LP
2#pragma once
3
4#include <linux/loop.h>
5
6#ifndef LOOP_CONFIGURE
7struct loop_config {
8 __u32 fd;
9 __u32 block_size;
10 struct loop_info64 info;
11 __u64 __reserved[8];
12};
13
14#define LOOP_CONFIGURE 0x4C0A
15#endif
bcef1743 16
e8c7c4d9
LP
17#ifndef LOOP_SET_STATUS_SETTABLE_FLAGS
18#define LOOP_SET_STATUS_SETTABLE_FLAGS (LO_FLAGS_AUTOCLEAR | LO_FLAGS_PARTSCAN)
19#endif