Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
kernel_linux
提交
2c2c8c1c
K
kernel_linux
项目概览
OpenHarmony
/
kernel_linux
上一次同步 4 年多
通知
15
Star
8
Fork
2
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
kernel_linux
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
2c2c8c1c
编写于
3月 23, 2006
作者:
A
Anton Altaparmakov
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
NTFS: Improve comments on file attribute flags in fs/ntfs/layout.h.
Signed-off-by:
N
Anton Altaparmakov
<
aia21@cantab.net
>
上级
d4faf636
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
13 addition
and
13 deletion
+13
-13
fs/ntfs/ChangeLog
fs/ntfs/ChangeLog
+1
-0
fs/ntfs/layout.h
fs/ntfs/layout.h
+12
-13
未找到文件。
fs/ntfs/ChangeLog
浏览文件 @
2c2c8c1c
...
@@ -37,6 +37,7 @@ ToDo/Notes:
...
@@ -37,6 +37,7 @@ ToDo/Notes:
- Limit name length in fs/ntfs/unistr.c::ntfs_nlstoucs() to maximum
- Limit name length in fs/ntfs/unistr.c::ntfs_nlstoucs() to maximum
allowed by NTFS, i.e. 255 Unicode characters, not including the
allowed by NTFS, i.e. 255 Unicode characters, not including the
terminating NULL (which is not stored on disk).
terminating NULL (which is not stored on disk).
- Improve comments on file attribute flags in fs/ntfs/layout.h.
2.1.26 - Minor bug fixes and updates.
2.1.26 - Minor bug fixes and updates.
...
...
fs/ntfs/layout.h
浏览文件 @
2c2c8c1c
...
@@ -801,13 +801,16 @@ typedef struct {
...
@@ -801,13 +801,16 @@ typedef struct {
typedef
ATTR_RECORD
ATTR_REC
;
typedef
ATTR_RECORD
ATTR_REC
;
/*
/*
* File attribute flags (32-bit).
* File attribute flags (32-bit) appearing in the file_attributes fields of the
* STANDARD_INFORMATION attribute of MFT_RECORDs and the FILENAME_ATTR
* attributes of MFT_RECORDs and directory index entries.
*
* All of the below flags appear in the directory index entries but only some
* appear in the STANDARD_INFORMATION attribute whilst only some others appear
* in the FILENAME_ATTR attribute of MFT_RECORDs. Unless otherwise stated the
* flags appear in all of the above.
*/
*/
enum
{
enum
{
/*
* The following flags are only present in the STANDARD_INFORMATION
* attribute (in the field file_attributes).
*/
FILE_ATTR_READONLY
=
const_cpu_to_le32
(
0x00000001
),
FILE_ATTR_READONLY
=
const_cpu_to_le32
(
0x00000001
),
FILE_ATTR_HIDDEN
=
const_cpu_to_le32
(
0x00000002
),
FILE_ATTR_HIDDEN
=
const_cpu_to_le32
(
0x00000002
),
FILE_ATTR_SYSTEM
=
const_cpu_to_le32
(
0x00000004
),
FILE_ATTR_SYSTEM
=
const_cpu_to_le32
(
0x00000004
),
...
@@ -839,18 +842,14 @@ enum {
...
@@ -839,18 +842,14 @@ enum {
F_A_COMPRESSED, and F_A_ENCRYPTED and preserves the rest. This mask
F_A_COMPRESSED, and F_A_ENCRYPTED and preserves the rest. This mask
is used to to obtain all flags that are valid for setting. */
is used to to obtain all flags that are valid for setting. */
/*
/*
* The following flag is only present in the FILE_NAME attribute (in
* The flag FILE_ATTR_DUP_FILENAME_INDEX_PRESENT is present in all
* the field file_attributes).
* FILENAME_ATTR attributes but not in the STANDARD_INFORMATION
* attribute of an mft record.
*/
*/
FILE_ATTR_DUP_FILE_NAME_INDEX_PRESENT
=
const_cpu_to_le32
(
0x10000000
),
FILE_ATTR_DUP_FILE_NAME_INDEX_PRESENT
=
const_cpu_to_le32
(
0x10000000
),
/* Note, this is a copy of the corresponding bit from the mft record,
/* Note, this is a copy of the corresponding bit from the mft record,
telling us whether this is a directory or not, i.e. whether it has
telling us whether this is a directory or not, i.e. whether it has
an index root attribute or not. */
an index root attribute or not. */
/*
* The following flag is present both in the STANDARD_INFORMATION
* attribute and in the FILE_NAME attribute (in the field
* file_attributes).
*/
FILE_ATTR_DUP_VIEW_INDEX_PRESENT
=
const_cpu_to_le32
(
0x20000000
),
FILE_ATTR_DUP_VIEW_INDEX_PRESENT
=
const_cpu_to_le32
(
0x20000000
),
/* Note, this is a copy of the corresponding bit from the mft record,
/* Note, this is a copy of the corresponding bit from the mft record,
telling us whether this file has a view index present (eg. object id
telling us whether this file has a view index present (eg. object id
...
@@ -891,7 +890,7 @@ typedef struct {
...
@@ -891,7 +890,7 @@ typedef struct {
Windows this is only updated when
Windows this is only updated when
accessed if some time delta has
accessed if some time delta has
passed since the last update. Also,
passed since the last update. Also,
last access time
s
updates can be
last access time updates can be
disabled altogether for speed. */
disabled altogether for speed. */
/* 32*/
FILE_ATTR_FLAGS
file_attributes
;
/* Flags describing the file. */
/* 32*/
FILE_ATTR_FLAGS
file_attributes
;
/* Flags describing the file. */
/* 36*/
union
{
/* 36*/
union
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录