Whamcloud - gitweb
LU-12368 obdclass: don't send multiple statfs RPCs
[fs/lustre-release.git] / lustre / obdclass / llog_ioctl.c
index 191880a..6c88632 100644 (file)
@@ -430,7 +430,7 @@ int llog_ioctl(const struct lu_env *env, struct llog_ctxt *ctxt, int cmd,
                        GOTO(out_close, rc = -EINVAL);
                }
 
-               if (data->ioc_inlbuf2 > 0) {
+               if (data->ioc_inlbuf2) {
                        /* remove indicate log from the catalog */
                        rc = str2logid(&plain, data->ioc_inlbuf2,
                                       data->ioc_inllen2);