Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
kernel_linux
提交
7d333d6c
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看板
提交
7d333d6c
编写于
9月 08, 2005
作者:
A
Anton Altaparmakov
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
NTFS: 2.1.24 release and some minor final fixes.
Signed-off-by:
N
Anton Altaparmakov
<
aia21@cantab.net
>
上级
e604635c
变更
5
显示空白变更内容
内联
并排
Showing
5 changed file
with
21 addition
and
9 deletion
+21
-9
Documentation/filesystems/ntfs.txt
Documentation/filesystems/ntfs.txt
+12
-0
fs/ntfs/ChangeLog
fs/ntfs/ChangeLog
+3
-1
fs/ntfs/Makefile
fs/ntfs/Makefile
+1
-1
fs/ntfs/aops.c
fs/ntfs/aops.c
+4
-6
fs/ntfs/super.c
fs/ntfs/super.c
+1
-1
未找到文件。
Documentation/filesystems/ntfs.txt
浏览文件 @
7d333d6c
...
...
@@ -439,6 +439,18 @@ ChangeLog
Note, a technical ChangeLog aimed at kernel hackers is in fs/ntfs/ChangeLog.
2.1.24:
- Support journals ($LogFile) which have been modified by chkdsk. This
means users can boot into Windows after we marked the volume dirty.
The Windows boot will run chkdsk and then reboot. The user can then
immediately boot into Linux rather than having to do a full Windows
boot first before rebooting into Linux and we will recognize such a
journal and empty it as it is clean by definition.
- Support journals ($LogFile) with only one restart page as well as
journals with two different restart pages. We sanity check both and
either use the only sane one or the more recent one of the two in the
case that both are valid.
- Lots of bug fixes and enhancements across the board.
2.1.23:
- Stamp the user space journal, aka transaction log, aka $UsnJrnl, if
it is present and active thus telling Windows and applications using
...
...
fs/ntfs/ChangeLog
浏览文件 @
7d333d6c
...
...
@@ -22,7 +22,7 @@ ToDo/Notes:
- Enable the code for setting the NT4 compatibility flag when we start
making NTFS 1.2 specific modifications.
2.1.24
-WIP
2.1.24
- Lots of bug fixes and support more clean journal states.
- Support journals ($LogFile) which have been modified by chkdsk. This
means users can boot into Windows after we marked the volume dirty.
...
...
@@ -89,6 +89,8 @@ ToDo/Notes:
- In fs/ntfs/aops.c::ntfs_end_buffer_async_read(), use a bit spin lock
in the first buffer head instead of a driver global spin lock to
improve scalability.
- Minor fix to error handling and error message display in
fs/ntfs/aops.c::ntfs_prepare_nonresident_write().
2.1.23 - Implement extension of resident files and make writing safe as well as
many bug fixes, cleanups, and enhancements...
...
...
fs/ntfs/Makefile
浏览文件 @
7d333d6c
...
...
@@ -6,7 +6,7 @@ ntfs-objs := aops.o attrib.o collate.o compress.o debug.o dir.o file.o \
index.o inode.o mft.o mst.o namei.o runlist.o super.o sysctl.o
\
unistr.o upcase.o
EXTRA_CFLAGS
=
-DNTFS_VERSION
=
\"
2.1.24
-WIP
\"
EXTRA_CFLAGS
=
-DNTFS_VERSION
=
\"
2.1.24
\"
ifeq
($(CONFIG_NTFS_DEBUG),y)
EXTRA_CFLAGS
+=
-DDEBUG
...
...
fs/ntfs/aops.c
浏览文件 @
7d333d6c
...
...
@@ -1727,27 +1727,25 @@ static int ntfs_prepare_nonresident_write(struct page *page,
if
(
likely
(
!
err
))
goto
lock_retry_remap
;
rl
=
NULL
;
lcn
=
err
;
}
else
if
(
!
rl
)
up_read
(
&
ni
->
runlist
.
lock
);
/*
* Failed to map the buffer, even after
* retrying.
*/
if
(
!
err
)
err
=
-
EIO
;
bh
->
b_blocknr
=
-
1
;
ntfs_error
(
vol
->
sb
,
"Failed to write to inode "
"0x%lx, attribute type 0x%x, "
"vcn 0x%llx, offset 0x%x "
"because its location on disk "
"could not be determined%s "
"(error code %
ll
i)."
,
"(error code %i)."
,
ni
->
mft_no
,
ni
->
type
,
(
unsigned
long
long
)
vcn
,
vcn_ofs
,
is_retry
?
" even "
"after retrying"
:
""
,
(
long
long
)
lcn
);
if
(
!
err
)
err
=
-
EIO
;
"after retrying"
:
""
,
err
);
goto
err_out
;
}
/* We now have a successful remap, i.e. lcn >= 0. */
...
...
fs/ntfs/super.c
浏览文件 @
7d333d6c
...
...
@@ -1688,9 +1688,9 @@ static BOOL load_system_files(ntfs_volume *vol)
struct
super_block
*
sb
=
vol
->
sb
;
MFT_RECORD
*
m
;
VOLUME_INFORMATION
*
vi
;
RESTART_PAGE_HEADER
*
rp
;
ntfs_attr_search_ctx
*
ctx
;
#ifdef NTFS_RW
RESTART_PAGE_HEADER
*
rp
;
int
err
;
#endif
/* NTFS_RW */
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录