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
d7fb2760
Commit
d7fb2760
authored
Apr 13, 2004
by
Andrew Morton
Committed by
Linus Torvalds
Apr 13, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Fix ext3 add_nondir d_instantiate()
It should be unconditional.
parent
e0ae6ae6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
fs/ext3/namei.c
fs/ext3/namei.c
+3
-5
No files found.
fs/ext3/namei.c
View file @
d7fb2760
...
...
@@ -1606,11 +1606,9 @@ static int ext3_add_nondir(handle_t *handle,
{
int
err
=
ext3_add_entry
(
handle
,
dentry
,
inode
);
if
(
!
err
)
{
err
=
ext3_mark_inode_dirty
(
handle
,
inode
);
if
(
!
err
)
{
d_instantiate
(
dentry
,
inode
);
return
0
;
}
ext3_mark_inode_dirty
(
handle
,
inode
);
d_instantiate
(
dentry
,
inode
);
return
0
;
}
ext3_dec_count
(
handle
,
inode
);
iput
(
inode
);
...
...
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