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
3175e85b
Commit
3175e85b
authored
Feb 04, 2002
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
v2.4.0.6 -> v2.4.0.7
- fix inode state comparison bug from ReiserFS merge
parent
e73dff56
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
Makefile
Makefile
+1
-1
fs/inode.c
fs/inode.c
+4
-3
No files found.
Makefile
View file @
3175e85b
VERSION
=
2
PATCHLEVEL
=
4
SUBLEVEL
=
1
EXTRAVERSION
=
-pre
6
EXTRAVERSION
=
-pre
7
KERNELRELEASE
=
$(VERSION)
.
$(PATCHLEVEL)
.
$(SUBLEVEL)$(EXTRAVERSION)
...
...
fs/inode.c
View file @
3175e85b
...
...
@@ -141,10 +141,11 @@ void __mark_inode_dirty(struct inode *inode, int flags)
if
(
sb
->
s_op
&&
sb
->
s_op
->
dirty_inode
)
sb
->
s_op
->
dirty_inode
(
inode
);
}
/* avoid the locking if we can */
if
((
inode
->
i_state
&
flags
)
!=
flags
)
{
return
;
}
if
((
inode
->
i_state
&
flags
)
==
flags
)
return
;
spin_lock
(
&
inode_lock
);
if
((
inode
->
i_state
&
flags
)
!=
flags
)
{
inode
->
i_state
|=
flags
;
...
...
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