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
f3745470
Commit
f3745470
authored
Apr 16, 2004
by
Alexander Viro
Committed by
Linus Torvalds
Apr 16, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] remount: fs/openpromfs
- we should force noatime both on mount and remount. Fixed.
parent
9eafdd13
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
fs/openpromfs/inode.c
fs/openpromfs/inode.c
+8
-1
No files found.
fs/openpromfs/inode.c
View file @
f3745470
...
@@ -1018,16 +1018,23 @@ static void openprom_read_inode(struct inode * inode)
...
@@ -1018,16 +1018,23 @@ static void openprom_read_inode(struct inode * inode)
}
}
}
}
static
int
openprom_remount
(
struct
super_block
*
sb
,
int
*
flags
,
char
*
data
)
{
*
flags
|=
MS_NOATIME
;
return
0
;
}
static
struct
super_operations
openprom_sops
=
{
static
struct
super_operations
openprom_sops
=
{
.
read_inode
=
openprom_read_inode
,
.
read_inode
=
openprom_read_inode
,
.
statfs
=
simple_statfs
,
.
statfs
=
simple_statfs
,
.
remount
=
openprom_remount
,
};
};
static
int
openprom_fill_super
(
struct
super_block
*
s
,
void
*
data
,
int
silent
)
static
int
openprom_fill_super
(
struct
super_block
*
s
,
void
*
data
,
int
silent
)
{
{
struct
inode
*
root_inode
;
struct
inode
*
root_inode
;
s
->
s_flags
|=
MS_NO
DIR
ATIME
;
s
->
s_flags
|=
MS_NOATIME
;
s
->
s_blocksize
=
1024
;
s
->
s_blocksize
=
1024
;
s
->
s_blocksize_bits
=
10
;
s
->
s_blocksize_bits
=
10
;
s
->
s_magic
=
OPENPROM_SUPER_MAGIC
;
s
->
s_magic
=
OPENPROM_SUPER_MAGIC
;
...
...
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