diff options
| author | timh <none@none> | 2008-04-27 10:20:38 -0700 |
|---|---|---|
| committer | timh <none@none> | 2008-04-27 10:20:38 -0700 |
| commit | ab04eb8ef60d9dc9614d6cccffc474f24ca1d162 (patch) | |
| tree | 361f353d229106ed93d3fa71ef005be8c7ebbc72 /usr/src/uts/common/fs/ctfs/ctfs_tdir.c | |
| parent | dc5415b5ee3585f3fb9e8f0a33ea3f5926e13999 (diff) | |
| download | illumos-joyent-ab04eb8ef60d9dc9614d6cccffc474f24ca1d162.tar.gz | |
6654808 FIGNORECASE lookups in a zfs xattr dir don't provide 'realname' data
6666748 System panic occurred when attempting to view .zfs snapshot directory from CIFS client.
6693201 libzpool needlessly defines u8_textprep_str()
6694236 case-insensitive zfs file system doesn't work when created on sparc and then imported on x86
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; |
