X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=fs%2Focfs2%2Fdlmglue.c;fp=fs%2Focfs2%2Fdlmglue.c;h=8b23aa2f52ddafe31be83b730d7219693222a1c5;hb=8f443e2372ba23d51ee365974f54507acd6f69d1;hp=956edf67be20ba6b1711f6aa4c915aad9cead0a7;hpb=646da63172f660ba84f195c1165360a9b73583ee;p=cascardo%2Flinux.git diff --git a/fs/ocfs2/dlmglue.c b/fs/ocfs2/dlmglue.c index 956edf67be20..8b23aa2f52dd 100644 --- 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");