|
| 1 | +/* SPDX-License-Identifier: LGPL-2.1 */ |
| 2 | +/* |
| 3 | + * |
| 4 | + * Copyright (c) International Business Machines Corp., 2009, 2013 |
| 5 | + * Etersoft, 2012 |
| 6 | + * 2018 Samsung Electronics Co., Ltd. |
| 7 | + * Author(s): Steve French (sfrench@us.ibm.com) |
| 8 | + * Pavel Shilovsky (pshilovsky@samba.org) 2012 |
| 9 | + * Namjae Jeon (linkinjeon@kernel.org) |
| 10 | + * |
| 11 | + */ |
| 12 | +#ifndef _COMMON_SMB_FSCC_H |
| 13 | +#define _COMMON_SMB_FSCC_H |
| 14 | + |
| 15 | +/* List of FileSystemAttributes - see MS-FSCC 2.5.1 */ |
| 16 | +#define FILE_SUPPORTS_SPARSE_VDL 0x10000000 /* faster nonsparse extend */ |
| 17 | +#define FILE_SUPPORTS_BLOCK_REFCOUNTING 0x08000000 /* allow ioctl dup extents */ |
| 18 | +#define FILE_SUPPORT_INTEGRITY_STREAMS 0x04000000 |
| 19 | +#define FILE_SUPPORTS_USN_JOURNAL 0x02000000 |
| 20 | +#define FILE_SUPPORTS_OPEN_BY_FILE_ID 0x01000000 |
| 21 | +#define FILE_SUPPORTS_EXTENDED_ATTRIBUTES 0x00800000 |
| 22 | +#define FILE_SUPPORTS_HARD_LINKS 0x00400000 |
| 23 | +#define FILE_SUPPORTS_TRANSACTIONS 0x00200000 |
| 24 | +#define FILE_SEQUENTIAL_WRITE_ONCE 0x00100000 |
| 25 | +#define FILE_READ_ONLY_VOLUME 0x00080000 |
| 26 | +#define FILE_NAMED_STREAMS 0x00040000 |
| 27 | +#define FILE_SUPPORTS_ENCRYPTION 0x00020000 |
| 28 | +#define FILE_SUPPORTS_OBJECT_IDS 0x00010000 |
| 29 | +#define FILE_VOLUME_IS_COMPRESSED 0x00008000 |
| 30 | +#define FILE_SUPPORTS_POSIX_UNLINK_RENAME 0x00000400 |
| 31 | +#define FILE_RETURNS_CLEANUP_RESULT_INFO 0x00000200 |
| 32 | +#define FILE_SUPPORTS_REMOTE_STORAGE 0x00000100 |
| 33 | +#define FILE_SUPPORTS_REPARSE_POINTS 0x00000080 |
| 34 | +#define FILE_SUPPORTS_SPARSE_FILES 0x00000040 |
| 35 | +#define FILE_VOLUME_QUOTAS 0x00000020 |
| 36 | +#define FILE_FILE_COMPRESSION 0x00000010 |
| 37 | +#define FILE_PERSISTENT_ACLS 0x00000008 |
| 38 | +#define FILE_UNICODE_ON_DISK 0x00000004 |
| 39 | +#define FILE_CASE_PRESERVED_NAMES 0x00000002 |
| 40 | +#define FILE_CASE_SENSITIVE_SEARCH 0x00000001 |
| 41 | + |
| 42 | +#endif /* _COMMON_SMB_FSCC_H */ |
0 commit comments