Linux NFS development
 help / color / mirror / Atom feed
From: Scott Mayhew <smayhew@redhat.com>
To: steved@redhat.com
Cc: jlayton@kernel.org, linux-nfs@vger.kernel.org
Subject: [nfs-utils PATCH 1/3] configure: update check of system netlink headers
Date: Tue,  7 Jul 2026 16:57:50 -0400	[thread overview]
Message-ID: <20260707205752.313031-2-smayhew@redhat.com> (raw)
In-Reply-To: <20260707205752.313031-1-smayhew@redhat.com>

Commit e1401387 ("nfsstat: add netlink support for fetching server
statistics") added new symbols to support/include/nfsd_netlink.h
that have not yet been added to the kernel headers.  Update the check
that defines USE_SYSTEM_NFSD_NETLINK_H - otherwise nfsstat will fail
to compile.

Signed-off-by: Scott Mayhew <smayhew@redhat.com>
---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 8ca06fd6..4ca7666d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -259,9 +259,9 @@ AC_CHECK_HEADERS(linux/nfsd_netlink.h)
 AC_DEFINE([HAVE_NFSD_NETLINK], 1,
 	  [Define to 1 if nfsd generic netlink support is available])
 
-# ensure we have the expkey attributes
+# ensure the system netlink headers have the latest features
 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <linux/nfsd_netlink.h>]],
-			                   [[int foo = NFSD_A_EXPKEY_SEQNO;]])],
+			                   [[int foo = NFSD_CMD_SERVER_STATS_GET;]])],
 			   [AC_DEFINE([USE_SYSTEM_NFSD_NETLINK_H], 1,
 				      ["Use system's linux/nfsd_netlink.h"])])
 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <linux/lockd_netlink.h>]],
-- 
2.55.0


  reply	other threads:[~2026-07-07 20:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-07 20:57 [nfs-utils PATCH 0/3] mountd netlink fixes Scott Mayhew
2026-07-07 20:57 ` Scott Mayhew [this message]
2026-07-07 20:57 ` [nfs-utils PATCH 2/3] nfs.conf: add no-netlink option to exportd and mountd stanzas Scott Mayhew
2026-07-07 20:57 ` [nfs-utils PATCH 3/3] mountd/exportd: disable netlink when falling back to /proc Scott Mayhew
2026-07-07 21:12 ` [nfs-utils PATCH 0/3] mountd netlink fixes Jeff Layton
2026-07-11 16:19 ` Steve Dickson

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=20260707205752.313031-2-smayhew@redhat.com \
    --to=smayhew@redhat.com \
    --cc=jlayton@kernel.org \
    --cc=linux-nfs@vger.kernel.org \
    --cc=steved@redhat.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