projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert "ocfs2: incorrect check for debugfs returns"
[cascardo/linux.git]
/
fs
/
ocfs2
/
dlmglue.c
diff --git
a/fs/ocfs2/dlmglue.c
b/fs/ocfs2/dlmglue.c
index
956edf6
..
8b23aa2
100644
(file)
--- a/
fs/ocfs2/dlmglue.c
+++ b/
fs/ocfs2/dlmglue.c
@@
-2959,7
+2959,7
@@
static int ocfs2_dlm_init_debug(struct ocfs2_super *osb)
osb->osb_debug_root,
osb,
&ocfs2_dlm_debug_fops);
- if (
IS_ERR_OR_NULL(dlm_debug->d_locking_state)
) {
+ if (
!dlm_debug->d_locking_state
) {
ret = -EINVAL;
mlog(ML_ERROR,
"Unable to create locking state debugfs file.\n");