summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys
diff options
context:
space:
mode:
authorth199096 <none@none>2007-04-02 21:38:04 -0700
committerth199096 <none@none>2007-04-02 21:38:04 -0700
commita237e38e9161f0acd6451439d4a7dd597e66291d (patch)
treefd849269fae42c5f25794ca7599b55f212a82a4a /usr/src/uts/common/sys
parent3aa1cd26bc498bd7a8d002259dabfe984ccc90d1 (diff)
downloadillumos-joyent-a237e38e9161f0acd6451439d4a7dd597e66291d.tar.gz
PSARC/2007/052 In-kernel Sharetab
6371468 /etc/dfs/sharetab should be a mntfs style file
Diffstat (limited to 'usr/src/uts/common/sys')
-rw-r--r--usr/src/uts/common/sys/gfs.h3
-rw-r--r--usr/src/uts/common/sys/mntent.h2
-rw-r--r--usr/src/uts/common/sys/syscall.h1
3 files changed, 6 insertions, 0 deletions
diff --git a/usr/src/uts/common/sys/gfs.h b/usr/src/uts/common/sys/gfs.h
index fd2abc1326..ce21cbe525 100644
--- a/usr/src/uts/common/sys/gfs.h
+++ b/usr/src/uts/common/sys/gfs.h
@@ -18,6 +18,7 @@
*
* CDDL HEADER END
*/
+
/*
* Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
@@ -96,6 +97,8 @@ extern vnode_t *gfs_dir_create(size_t, vnode_t *, vnodeops_t *,
gfs_dirent_t *, gfs_inode_cb, int, gfs_readdir_cb, gfs_lookup_cb);
extern vnode_t *gfs_root_create(size_t, struct vfs *, vnodeops_t *, ino64_t,
gfs_dirent_t *, gfs_inode_cb, int, gfs_readdir_cb, gfs_lookup_cb);
+extern vnode_t *gfs_root_create_file(size_t, struct vfs *, vnodeops_t *,
+ ino64_t);
extern void *gfs_file_inactive(vnode_t *);
extern void *gfs_dir_inactive(vnode_t *);
diff --git a/usr/src/uts/common/sys/mntent.h b/usr/src/uts/common/sys/mntent.h
index 0cda0fd6d4..ee35c0561c 100644
--- a/usr/src/uts/common/sys/mntent.h
+++ b/usr/src/uts/common/sys/mntent.h
@@ -57,6 +57,8 @@ extern "C" {
#define MNTTYPE_DEV "dev" /* /dev file system */
#define MNTTYPE_CTFS "ctfs" /* Contract file system */
#define MNTTYPE_OBJFS "objfs" /* Kernel object file system */
+#define MNTTYPE_SHAREFS "sharefs" /* Kernel sharetab file system */
+
#define MNTOPT_RO "ro" /* Read only */
#define MNTOPT_RW "rw" /* Read/write */
diff --git a/usr/src/uts/common/sys/syscall.h b/usr/src/uts/common/sys/syscall.h
index 71d4164ff9..55a6760b1e 100644
--- a/usr/src/uts/common/sys/syscall.h
+++ b/usr/src/uts/common/sys/syscall.h
@@ -319,6 +319,7 @@ extern "C" {
#define SYS_sysconfig 137
#define SYS_adjtime 138
#define SYS_systeminfo 139
+#define SYS_sharefs 140
#define SYS_seteuid 141
#define SYS_forksys 142
/*