summaryrefslogtreecommitdiffstats
path: root/libmount/src/libmount.h.in
diff options
context:
space:
mode:
authorKarel Zak2018-06-01 12:29:14 +0200
committerKarel Zak2018-06-01 12:29:14 +0200
commit8d6de22499827c3280ff07875fc0744b3a454516 (patch)
treeec15fe81d9f58c68a465c2e4c2680370358ad246 /libmount/src/libmount.h.in
parentlibmount: improve MS_REC usage (diff)
downloadkernel-qcow2-util-linux-8d6de22499827c3280ff07875fc0744b3a454516.tar.gz
kernel-qcow2-util-linux-8d6de22499827c3280ff07875fc0744b3a454516.tar.xz
kernel-qcow2-util-linux-8d6de22499827c3280ff07875fc0744b3a454516.zip
libmount: don't use MS_MGC_VAL magic in mount(2) syscall
Specifying MS_MGC_VAL was required in kernel versions prior to 2.4, but since Linux 2.4 is no longer required and is ignored if specified The minimal kernel requirement for util-linux is Linux v2.6. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src/libmount.h.in')
-rw-r--r--libmount/src/libmount.h.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/libmount/src/libmount.h.in b/libmount/src/libmount.h.in
index c61514b59..e12a90f07 100644
--- a/libmount/src/libmount.h.in
+++ b/libmount/src/libmount.h.in
@@ -938,7 +938,8 @@ extern int mnt_context_set_syscall_status(struct libmnt_context *cxt, int status
/*
- * Magic mount flag number. Had to be or-ed to the flag values.
+ * Magic mount flag number. Had to be or-ed to the flag values. Deprecated and
+ * no more used since libmount v2.33; required for Linux <= 2.4.
*/
#ifndef MS_MGC_VAL
#define MS_MGC_VAL 0xC0ED0000 /* magic flag number to indicate "new" flags */