Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: mathieu.desnoyers@efficios.com (Mathieu Desnoyers)
Subject: [lttng-dev] [PATCH lttng-modules] Fix: ext3 was completely removed from the kernel in v4.3
Date: Wed, 24 May 2017 16:09:11 +0000 (UTC)	[thread overview]
Message-ID: <1242437908.24005.1495642151799.JavaMail.zimbra@efficios.com> (raw)
In-Reply-To: <1495568605-28541-1-git-send-email-mjeanson@efficios.com>

Merged into master, 2.10, 2.9, 2.8, thanks!

Mathieu

----- On May 23, 2017, at 9:43 PM, Michael Jeanson mjeanson at efficios.com wrote:

> Don't display the warning about missing ext3 headers on kernels >= 4.3
> 
> See upstream commit e31fb9e00543e5d3c5b686747d3c862bc09b59f3
> 
> Signed-off-by: Michael Jeanson <mjeanson at efficios.com>
> ---
> probes/Kbuild | 14 ++++++++------
> 1 file changed, 8 insertions(+), 6 deletions(-)
> 
> diff --git a/probes/Kbuild b/probes/Kbuild
> index 664595d..fe869d0 100644
> --- a/probes/Kbuild
> +++ b/probes/Kbuild
> @@ -97,13 +97,15 @@ ifneq ($(CONFIG_EXT3_FS),)
>   ext3_dep = $(srctree)/fs/ext3/*.h
>   ext3_dep_check = $(wildcard $(ext3_dep))
>   ext3 = $(shell \
> -    if [ $(VERSION) -ge 4 -o \( $(VERSION) -eq 3 -a $(PATCHLEVEL) -ge 1 \) ] ;
> then \
> -      if [ \( $(VERSION) -ge 4 -o \( $(VERSION) -eq 3 -a $(PATCHLEVEL) -ge 4 \)
> \) -a \
> -        -z "$(ext3_dep_check)" ] ; then \
> -        echo "warn" ; \
> -        exit ; \
> +    if [ $(VERSION) -lt 4 -o \( $(VERSION) -eq 4 -a $(PATCHLEVEL) -lt 3 \) ] ;
> then \
> +      if [ $(VERSION) -ge 4 -o \( $(VERSION) -eq 3 -a $(PATCHLEVEL) -ge 1 \) ]
> ; then \
> +        if [ \( $(VERSION) -ge 4 -o \( $(VERSION) -eq 3 -a $(PATCHLEVEL) -ge 4
> \) \) -a \
> +          -z "$(ext3_dep_check)" ] ; then \
> +          echo "warn" ; \
> +          exit ; \
> +        fi; \
> +        echo "lttng-probe-ext3.o" ; \
>       fi; \
> -      echo "lttng-probe-ext3.o" ; \
>     fi;)
>   ifeq ($(ext3),warn)
>     $(warning Files $(ext3_dep) not found. Probe "ext3" is disabled. Use full kernel
>     source tree to enable it.)
> --
> 2.7.4

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com


           reply	other threads:[~2017-05-24 16:09 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <1495568605-28541-1-git-send-email-mjeanson@efficios.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1242437908.24005.1495642151799.JavaMail.zimbra@efficios.com \
    --to=mathieu.desnoyers@efficios.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox