aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linux/linux_file.h
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2020-01-20 12:16:32 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2020-01-20 12:16:32 +0000
commit66632fe7bbe732c6fd09e391dcc16b599e1b7f67 (patch)
treef2bbefdcb2df14b15638487155b9ccc0abbd1f4e /sys/compat/linux/linux_file.h
parent6507380fb9f73b45726970c2f5942c805d222ffe (diff)
Properly translate MNT_FORCE flag to Linux umount2(2). Previously
it worked by accident. MFC after: 2 weeks Sponsored by: DARPA
Notes
Notes: svn path=/head/; revision=356912
Diffstat (limited to 'sys/compat/linux/linux_file.h')
-rw-r--r--sys/compat/linux/linux_file.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/compat/linux/linux_file.h b/sys/compat/linux/linux_file.h
index 40384c52a066..574feec3f26f 100644
--- a/sys/compat/linux/linux_file.h
+++ b/sys/compat/linux/linux_file.h
@@ -57,6 +57,11 @@
#define LINUX_MS_REMOUNT 0x0020
/*
+ * umount2 flags
+ */
+#define LINUX_MNT_FORCE 0x0001
+
+/*
* common open/fcntl flags
*/
#define LINUX_O_RDONLY 00000000