From: Sven Eckelmann <sven@narfation.org>
To: b.a.t.m.a.n@lists.open-mesh.org
Subject: [B.A.T.M.A.N.] [PATCH 4/5] batman-adv: ABI: Mark sysfs files as deprecated
Date: Sun, 3 Mar 2019 18:02:58 +0100 [thread overview]
Message-ID: <20190303170259.31798-5-sven@narfation.org> (raw)
In-Reply-To: <20190303170259.31798-1-sven@narfation.org>
The sysfs files are replaced by the batadv generic netlink family. The old
sysfs configuration interface was frowned upon by other kernel developers.
But the files cannot be removed immediately because userspace tools might
still depend on it. Instead schedule for its removal in 2021.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
---
.../ABI/{testing => obsolete}/sysfs-class-net-batman-adv | 2 ++
Documentation/ABI/{testing => obsolete}/sysfs-class-net-mesh | 2 ++
MAINTAINERS | 4 ++--
3 files changed, 6 insertions(+), 2 deletions(-)
rename Documentation/ABI/{testing => obsolete}/sysfs-class-net-batman-adv (92%)
rename Documentation/ABI/{testing => obsolete}/sysfs-class-net-mesh (97%)
diff --git a/Documentation/ABI/testing/sysfs-class-net-batman-adv b/Documentation/ABI/obsolete/sysfs-class-net-batman-adv
similarity index 92%
rename from Documentation/ABI/testing/sysfs-class-net-batman-adv
rename to Documentation/ABI/obsolete/sysfs-class-net-batman-adv
index 89810684..5bdbc8d4 100644
--- a/Documentation/ABI/testing/sysfs-class-net-batman-adv
+++ b/Documentation/ABI/obsolete/sysfs-class-net-batman-adv
@@ -1,3 +1,5 @@
+This ABI is deprecated and will be removed after 2021. It is
+replaced with the batadv generic netlink family.
What: /sys/class/net/<iface>/batman-adv/elp_interval
Date: Feb 2014
diff --git a/Documentation/ABI/testing/sysfs-class-net-mesh b/Documentation/ABI/obsolete/sysfs-class-net-mesh
similarity index 97%
rename from Documentation/ABI/testing/sysfs-class-net-mesh
rename to Documentation/ABI/obsolete/sysfs-class-net-mesh
index c2b956d4..04c1a293 100644
--- a/Documentation/ABI/testing/sysfs-class-net-mesh
+++ b/Documentation/ABI/obsolete/sysfs-class-net-mesh
@@ -1,3 +1,5 @@
+This ABI is deprecated and will be removed after 2021. It is
+replaced with the batadv generic netlink family.
What: /sys/class/net/<mesh_iface>/mesh/aggregated_ogms
Date: May 2010
diff --git a/MAINTAINERS b/MAINTAINERS
index 5fe4a8f3..e205c8e3 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -6,8 +6,8 @@ L: b.a.t.m.a.n@lists.open-mesh.org (moderated for non-subscribers)
W: https://www.open-mesh.org/
Q: https://patchwork.open-mesh.org/project/batman/list/
S: Maintained
-F: Documentation/ABI/testing/sysfs-class-net-batman-adv
-F: Documentation/ABI/testing/sysfs-class-net-mesh
+F: Documentation/ABI/obsolete/sysfs-class-net-batman-adv
+F: Documentation/ABI/obsolete/sysfs-class-net-mesh
F: Documentation/networking/batman-adv.rst
F: include/uapi/linux/batadv_packet.h
F: include/uapi/linux/batman_adv.h
--
2.20.1
next prev parent reply other threads:[~2019-03-03 17:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-03 17:02 [B.A.T.M.A.N.] [PATCH 0/5] batman-adv: Deprecation of sysfs Sven Eckelmann
2019-03-03 17:02 ` [B.A.T.M.A.N.] [PATCH 1/5] batman-adv: Drop documentation about debugfs files Sven Eckelmann
2019-03-03 17:02 ` [B.A.T.M.A.N.] [PATCH 2/5] batman-adv: Drop documentation about sysfs files Sven Eckelmann
2019-03-03 17:02 ` [B.A.T.M.A.N.] [PATCH 3/5] batman-adv: Make sysfs support optional Sven Eckelmann
2019-03-03 17:02 ` Sven Eckelmann [this message]
2019-03-03 17:02 ` [B.A.T.M.A.N.] [PATCH 5/5] batman-adv: Warn about sysfs file access Sven Eckelmann
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=20190303170259.31798-5-sven@narfation.org \
--to=sven@narfation.org \
--cc=b.a.t.m.a.n@lists.open-mesh.org \
/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;
as well as URLs for NNTP newsgroup(s).