diff options
Diffstat (limited to 'fs/ocfs2/dlmglue.c')
-rw-r--r-- | fs/ocfs2/dlmglue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/dlmglue.c b/fs/ocfs2/dlmglue.c index 11849a44dc5a..23adcbf374d3 100644 --- a/fs/ocfs2/dlmglue.c +++ b/fs/ocfs2/dlmglue.c | |||
@@ -2954,7 +2954,7 @@ static int ocfs2_dlm_init_debug(struct ocfs2_super *osb) | |||
2954 | osb->osb_debug_root, | 2954 | osb->osb_debug_root, |
2955 | osb, | 2955 | osb, |
2956 | &ocfs2_dlm_debug_fops); | 2956 | &ocfs2_dlm_debug_fops); |
2957 | if (!dlm_debug->d_locking_state) { | 2957 | if (IS_ERR_OR_NULL(dlm_debug->d_locking_state)) { |
2958 | ret = -EINVAL; | 2958 | ret = -EINVAL; |
2959 | mlog(ML_ERROR, | 2959 | mlog(ML_ERROR, |
2960 | "Unable to create locking state debugfs file.\n"); | 2960 | "Unable to create locking state debugfs file.\n"); |