-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprops.h
32 lines (23 loc) · 926 Bytes
/
props.h
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
26
27
28
29
30
31
32
/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (C) 2014 Filipe David Borba Manana <[email protected]>
*/
#ifndef APFS_PROPS_H
#define APFS_PROPS_H
#include "ctree.h"
#define APFS_XATTR_APPLE_PREFIX "com.apple."
#define APFS_XATTR_APPLE_PREFIX_LEN (sizeof(APFS_XATTR_APPLE_PREFIX) - 1)
void __init apfs_props_init(void);
int apfs_set_prop(struct apfs_trans_handle *trans, struct inode *inode,
const char *name, const char *value, size_t value_len,
int flags);
int apfs_validate_prop(const char *name, u16 flags, const char *value,
size_t value_len);
int apfs_load_inode_props(struct inode *inode, struct apfs_path *path);
int apfs_inode_inherit_props(struct apfs_trans_handle *trans,
struct inode *inode,
struct inode *dir);
int apfs_subvol_inherit_props(struct apfs_trans_handle *trans,
struct apfs_root *root,
struct apfs_root *parent_root);
#endif