summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerry Jelinek <jerry.jelinek@joyent.com>2015-06-22 19:50:41 +0000
committerJerry Jelinek <jerry.jelinek@joyent.com>2015-06-22 19:50:41 +0000
commitcc9869830f042f79f65c466b944f729ee939ca76 (patch)
treec83cb58eb2247a0ba6d4061c4816f9db42d32e1b
parentaa891330baca4c28f9afd70baa478ef2cc8f4131 (diff)
downloadillumos-joyent-cc9869830f042f79f65c466b944f729ee939ca76.tar.gz
OS-4444 minor build issues
-rw-r--r--usr/src/lib/libc/sparcv9/Makefile.com1
-rw-r--r--usr/src/uts/common/brand/lx/cgroups/cgrps_vnops.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/lib/libc/sparcv9/Makefile.com b/usr/src/lib/libc/sparcv9/Makefile.com
index b8e5e9670b..7ebd92289e 100644
--- a/usr/src/lib/libc/sparcv9/Makefile.com
+++ b/usr/src/lib/libc/sparcv9/Makefile.com
@@ -920,6 +920,7 @@ PORTSYS= \
sidsys.o \
siginterrupt.o \
signal.o \
+ signalfd.o \
sigpending.o \
sigstack.o \
stat.o \
diff --git a/usr/src/uts/common/brand/lx/cgroups/cgrps_vnops.c b/usr/src/uts/common/brand/lx/cgroups/cgrps_vnops.c
index b22149a2f8..f55908ac4a 100644
--- a/usr/src/uts/common/brand/lx/cgroups/cgrps_vnops.c
+++ b/usr/src/uts/common/brand/lx/cgroups/cgrps_vnops.c
@@ -355,7 +355,7 @@ cgrp_create(struct vnode *dvp, char *nm, struct vattr *vap,
*/
if (exclusive == EXCL) {
error = EEXIST;
- } else if ((cn->cgn_type == VDIR) && (mode & VWRITE)) {
+ } else if ((CGNTOV(cn)->v_type == VDIR) && (mode & VWRITE)) {
error = EISDIR;
} else {
error = cgrp_taccess(cn, mode, cred);