Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
7018133c
Commit
7018133c
authored
Mar 22, 2003
by
Andrew Morton
Committed by
David S. Miller
Mar 22, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Implement a/c/time speedup in ext2 & ext3
Turn on MS_ONE_SECOND in ext2 and ext3.
parent
fd2134bb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
fs/ext2/super.c
fs/ext2/super.c
+1
-0
fs/ext3/super.c
fs/ext3/super.c
+1
-0
No files found.
fs/ext2/super.c
View file @
7018133c
...
@@ -598,6 +598,7 @@ static int ext2_fill_super(struct super_block *sb, void *data, int silent)
...
@@ -598,6 +598,7 @@ static int ext2_fill_super(struct super_block *sb, void *data, int silent)
es
=
(
struct
ext2_super_block
*
)
(((
char
*
)
bh
->
b_data
)
+
offset
);
es
=
(
struct
ext2_super_block
*
)
(((
char
*
)
bh
->
b_data
)
+
offset
);
sbi
->
s_es
=
es
;
sbi
->
s_es
=
es
;
sb
->
s_magic
=
le16_to_cpu
(
es
->
s_magic
);
sb
->
s_magic
=
le16_to_cpu
(
es
->
s_magic
);
sb
->
s_flags
|=
MS_ONE_SECOND
;
if
(
sb
->
s_magic
!=
EXT2_SUPER_MAGIC
)
{
if
(
sb
->
s_magic
!=
EXT2_SUPER_MAGIC
)
{
if
(
!
silent
)
if
(
!
silent
)
printk
(
"VFS: Can't find ext2 filesystem on dev %s.
\n
"
,
printk
(
"VFS: Can't find ext2 filesystem on dev %s.
\n
"
,
...
...
fs/ext3/super.c
View file @
7018133c
...
@@ -1097,6 +1097,7 @@ static int ext3_fill_super (struct super_block *sb, void *data, int silent)
...
@@ -1097,6 +1097,7 @@ static int ext3_fill_super (struct super_block *sb, void *data, int silent)
if
(
!
parse_options
((
char
*
)
data
,
sbi
,
&
journal_inum
,
0
))
if
(
!
parse_options
((
char
*
)
data
,
sbi
,
&
journal_inum
,
0
))
goto
failed_mount
;
goto
failed_mount
;
sb
->
s_flags
|=
MS_ONE_SECOND
;
sb
->
s_flags
=
(
sb
->
s_flags
&
~
MS_POSIXACL
)
|
sb
->
s_flags
=
(
sb
->
s_flags
&
~
MS_POSIXACL
)
|
((
sbi
->
s_mount_opt
&
EXT3_MOUNT_POSIX_ACL
)
?
MS_POSIXACL
:
0
);
((
sbi
->
s_mount_opt
&
EXT3_MOUNT_POSIX_ACL
)
?
MS_POSIXACL
:
0
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment