diff options
| author | Janice Chang <Janice.Chang@Sun.COM> | 2008-09-30 02:00:40 -0400 |
|---|---|---|
| committer | Janice Chang <Janice.Chang@Sun.COM> | 2008-09-30 02:00:40 -0400 |
| commit | 9660e5cb810c5efc22db0f1459461c1f1eec15b9 (patch) | |
| tree | f1299f0a4c0a801ed25271d7633e916802e68f40 /usr/src/uts/common/fs/tmpfs/tmp_vnops.c | |
| parent | 7eea693d6b672899726e75993fddc4e95b52647f (diff) | |
| download | illumos-joyent-9660e5cb810c5efc22db0f1459461c1f1eec15b9.tar.gz | |
PSARC/2008/588 VFSFT_SYSATTR_VIEWS
6739967 New VFSFT needed for sysattr "view" interface (VFSFT_XVATTR currently overloaded)
Diffstat (limited to 'usr/src/uts/common/fs/tmpfs/tmp_vnops.c')
| -rw-r--r-- | usr/src/uts/common/fs/tmpfs/tmp_vnops.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr/src/uts/common/fs/tmpfs/tmp_vnops.c b/usr/src/uts/common/fs/tmpfs/tmp_vnops.c index 3248df1b26..c036d27fec 100644 --- a/usr/src/uts/common/fs/tmpfs/tmp_vnops.c +++ b/usr/src/uts/common/fs/tmpfs/tmp_vnops.c @@ -23,8 +23,6 @@ * Use is subject to license terms. */ -#pragma ident "%Z%%M% %I% %E% SMI" - #include <sys/types.h> #include <sys/param.h> #include <sys/t_lock.h> @@ -2381,7 +2379,7 @@ tmp_pathconf( break; case _PC_SATTR_ENABLED: case _PC_SATTR_EXISTS: - *valp = vfs_has_feature(vp->v_vfsp, VFSFT_XVATTR) && + *valp = vfs_has_feature(vp->v_vfsp, VFSFT_SYSATTR_VIEWS) && (vp->v_type == VREG || vp->v_type == VDIR); error = 0; break; |
