On 05/06/2020 02:59 PM, Pavel Tikhomirov wrote:
diff --git a/include/uapi/linux/fs.h b/include/uapi/linux/fs.h
index a4ca54304220..45e2752a85c9 100644
--- a/include/uapi/linux/fs.h
+++ b/include/uapi/linux/fs.h
@@ -99,6 +99,12 @@ struct inodes_stat_t {
 #define MS_STRICTATIME (1<<24) /* Always perform atime updates */
 #define MS_LAZYTIME    (1<<25) /* Update the on-disk [acm]times lazily */

+/*
+ * Here are commands and flags. Commands are handled in do_mount()
+ * and can intersect with kernel internal flags.
+ */
+#define MS_SET_GROUP   (1<<26) /* Add a mount into a shared group */
+
 /* These sb flags are internal to the kernel */
 #define MS_SUBMOUNT     (1<<26)

Is it OK to have the flag's semantics overloaded?

 #define MS_NOREMOTELOCK        (1<<27)
_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to