git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8573f79
)
ocfs2: Fix check of return value of ocfs2_start_trans()
author
Jan Kara
<jack@suse.cz>
Mon, 20 Oct 2008 17:23:51 +0000
(19:23 +0200)
committer
Mark Fasheh
<mfasheh@suse.com>
Mon, 10 Nov 2008 17:51:46 +0000
(09:51 -0800)
On failure, ocfs2_start_trans() returns values like ERR_PTR(-ENOMEM).
Thus checks for !handle are wrong. Fix them to use IS_ERR().
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
No differences found