diff options
Diffstat (limited to 'usr/src/uts/common/fs/ctfs/ctfs_tdir.c')
-rw-r--r-- | usr/src/uts/common/fs/ctfs/ctfs_tdir.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/usr/src/uts/common/fs/ctfs/ctfs_tdir.c b/usr/src/uts/common/fs/ctfs/ctfs_tdir.c index ce83fa5097..1efe9a7618 100644 --- a/usr/src/uts/common/fs/ctfs/ctfs_tdir.c +++ b/usr/src/uts/common/fs/ctfs/ctfs_tdir.c @@ -19,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2007 Sun Microsystems, Inc. All rights reserved. + * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -59,7 +59,7 @@ static gfs_dirent_t ctfs_tdir_dirents[] = { static int ctfs_tdir_do_readdir(vnode_t *, void *, int *, offset_t *, offset_t *, void *, int); static int ctfs_tdir_do_lookup(vnode_t *, const char *, vnode_t **, ino64_t *, - cred_t *); + cred_t *, int, int *, pathname_t *); static ino64_t ctfs_tdir_do_inode(vnode_t *, int); /* @@ -115,9 +115,7 @@ ctfs_tdir_do_readdir(vnode_t *vp, void *dp, int *eofp, ct_type_t *ty = ct_types[gfs_file_index(vp)]; struct dirent64 *odp = dp; - /* ctfs does not support V_RDDIR_ENTFLAGS */ - if (flags & V_RDDIR_ENTFLAGS) - return (ENOTSUP); + ASSERT(!(flags & V_RDDIR_ENTFLAGS)); zuniqid = VTOZONE(vp)->zone_uniqid; next = contract_type_lookup(ty, zuniqid, *offp); @@ -138,7 +136,7 @@ ctfs_tdir_do_readdir(vnode_t *vp, void *dp, int *eofp, /* ARGSUSED */ static int ctfs_tdir_do_lookup(vnode_t *vp, const char *nm, vnode_t **vpp, ino64_t *inop, - cred_t *cr) + cred_t *cr, int flags, int *deflags, pathname_t *rpnp) { int i; contract_t *ct; |