libkmod: always pass O_NONBLOCK to kernel
Not passsing O_NONBLOCK to delete_module() is deprecated since kmod 11
and is being removed from the kernel. Force this flag in libkmod.
diff --git a/NEWS b/NEWS
index 8260183..e028cff 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,11 @@
+kmod 16
+=======
+
+- New features:
+ - Remove option from libkmod to allow waiting on module removal if
+ the module is being used. It's dangerous since it can block the
+ caller indefinitely.
+
kmod 15
=======
@@ -82,7 +90,7 @@
benefits.
- Hide --wait option on rmmod. This feature is being targeted for
removal from kernel. rmmod still accepts this option, but it's hidden
- now: man page and usage() says nothing about it and if it's used,
+ now: man page and usage() say nothing about it and if it's used,
user will get a 10s sleep. This way we can check and help if anyone
is using this feature.
- Refactor message logging on all tools, giving proper prefix, routing