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
41cce647
Commit
41cce647
authored
Jun 08, 2010
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jffs2: don't open-code iget_failed()
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
1e231735
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
12 deletions
+4
-12
fs/jffs2/dir.c
fs/jffs2/dir.c
+4
-12
No files found.
fs/jffs2/dir.c
View file @
41cce647
...
...
@@ -232,9 +232,7 @@ static int jffs2_create(struct inode *dir_i, struct dentry *dentry, int mode,
return
0
;
fail:
make_bad_inode
(
inode
);
unlock_new_inode
(
inode
);
iput
(
inode
);
iget_failed
(
inode
);
jffs2_free_raw_inode
(
ri
);
return
ret
;
}
...
...
@@ -454,9 +452,7 @@ static int jffs2_symlink (struct inode *dir_i, struct dentry *dentry, const char
return
0
;
fail:
make_bad_inode
(
inode
);
unlock_new_inode
(
inode
);
iput
(
inode
);
iget_failed
(
inode
);
return
ret
;
}
...
...
@@ -601,9 +597,7 @@ static int jffs2_mkdir (struct inode *dir_i, struct dentry *dentry, int mode)
return
0
;
fail:
make_bad_inode
(
inode
);
unlock_new_inode
(
inode
);
iput
(
inode
);
iget_failed
(
inode
);
return
ret
;
}
...
...
@@ -778,9 +772,7 @@ static int jffs2_mknod (struct inode *dir_i, struct dentry *dentry, int mode, de
return
0
;
fail:
make_bad_inode
(
inode
);
unlock_new_inode
(
inode
);
iput
(
inode
);
iget_failed
(
inode
);
return
ret
;
}
...
...
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