summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/vfs.h
diff options
context:
space:
mode:
authorSebastien Roy <seb@delphix.com>2017-01-31 17:53:32 -0500
committerPrakash Surya <prakash.surya@delphix.com>2018-02-13 08:28:04 -0800
commitd9a54dd1ef75248420c035ec1d240674f8d1f4fb (patch)
tree6dff8e23c5877980c56ed5e5b89bc99c27c3086a /usr/src/uts/common/sys/vfs.h
parent213fcdcbdccbdeb7d33fbae7ba8d2639a6f8fd01 (diff)
downloadillumos-joyent-d9a54dd1ef75248420c035ec1d240674f8d1f4fb.tar.gz
9074 domount() interprets ZFS filesystem names as relative paths
Reviewed by: Paul Dagnelie <pcd@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
Diffstat (limited to 'usr/src/uts/common/sys/vfs.h')
-rw-r--r--usr/src/uts/common/sys/vfs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/uts/common/sys/vfs.h b/usr/src/uts/common/sys/vfs.h
index 76f8214d8c..3ae530ed22 100644
--- a/usr/src/uts/common/sys/vfs.h
+++ b/usr/src/uts/common/sys/vfs.h
@@ -22,7 +22,7 @@
/*
* Copyright (c) 1988, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2016 Toomas Soome <tsoome@me.com>
- * Copyright (c) 2016 by Delphix. All rights reserved.
+ * Copyright (c) 2016, 2017 by Delphix. All rights reserved.
* Copyright 2016 Nexenta Systems, Inc.
*/
@@ -416,6 +416,7 @@ enum {
#define VSW_XID 0x40 /* file system supports extended ids */
#define VSW_CANLOFI 0x80 /* file system supports lofi mounts */
#define VSW_ZMOUNT 0x100 /* file system always allowed in a zone */
+#define VSW_MOUNTDEV 0x200 /* file system is mounted via device path */
#define VSW_INSTALLED 0x8000 /* this vsw is associated with a file system */