From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabio M. Di Nitto Date: Thu, 25 Aug 2011 10:16:05 +0200 Subject: [Cluster-devel] Problems with [PATCH] dlm_controld: fix plock dev_write no op In-Reply-To: <24E144B8C0207547AD09C467A8259F75377B71D8@lisa.maurer-it.com> References: <24E144B8C0207547AD09C467A8259F75377B71D8@lisa.maurer-it.com> Message-ID: <4E5604C5.1060803@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On 8/25/2011 7:10 AM, Dietmar Maurer wrote: >> On 8/24/2011 8:18 AM, Dietmar Maurer wrote: >>> Compile is broken after that patch. I get: >>> >>> /cluster-3.1.5/group/dlm_controld/plock.c:744:2: warning: #warning >> DLM_PLOCK_FL_CLOSE undefined. Enabling build workaround. >>> /cluster-3.1.5/group/dlm_controld/plock.c: In function >> \u2018process_plocks\u2019: >>> /cluster-3.1.5/group/dlm_controld/plock.c:1595: error: \u2018struct >>> dlm_plock_info\u2019 has no member named \u2018flags\u2019 >>> make[2]: *** [plock.o] Error 1 >>> make[2]: Leaving directory `/home/dietmar/pve2-devel/redhat-cluster- >> pve/cluster-3.1.5/group/dlm_controld' >>> make[1]: *** [all] Error 2 >>> >>> - Dietmar >>> >>> >> >> I pushed a workaround for this, but you need to update your kernel headers. > > Well, I use headers from recent RHEL6 kernel (131.6.1.el6). > > Is that fixed in newer RHEL6 kernels or what kernel version do you suggest? You need kernel from RHEL6.2. Fabio