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
Kirill Smelkov
linux
Commits
b19f1336
Commit
b19f1336
authored
Nov 03, 2013
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ocfs2: get rid of impossible checks
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
fbad2bd1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
fs/ocfs2/inode.c
fs/ocfs2/inode.c
+0
-10
No files found.
fs/ocfs2/inode.c
View file @
b19f1336
...
...
@@ -386,19 +386,9 @@ static int ocfs2_read_locked_inode(struct inode *inode,
u32
generation
=
0
;
status
=
-
EINVAL
;
if
(
inode
==
NULL
||
inode
->
i_sb
==
NULL
)
{
mlog
(
ML_ERROR
,
"bad inode
\n
"
);
return
status
;
}
sb
=
inode
->
i_sb
;
osb
=
OCFS2_SB
(
sb
);
if
(
!
args
)
{
mlog
(
ML_ERROR
,
"bad inode args
\n
"
);
make_bad_inode
(
inode
);
return
status
;
}
/*
* To improve performance of cold-cache inode stats, we take
* the cluster lock here if possible.
...
...
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