It's implemented in RHEL4 & STABLE, but not in the new (GFS2 stream) code onCVS head. If you had to define QUERY, then it sounds like you're using CVS head.
I had to define QUERY because it is tested in libdlm.h from the cluster source.
How can I get the stable version/headers? -- Linux-cluster@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/linux-cluster