diff options
| author | Jerry Jelinek <jerry.jelinek@joyent.com> | 2012-03-16 01:16:04 +0000 | 
|---|---|---|
| committer | Jerry Jelinek <jerry.jelinek@joyent.com> | 2012-03-16 01:16:04 +0000 | 
| commit | 93c4aa5e044dab4275fd2ca94a5f16f8580ba9db (patch) | |
| tree | cad3afc0be6507a813561f12755faace0c0ee991 /usr/src | |
| parent | 39149f5f6f2da14aaad8ba2938c423d7f1608470 (diff) | |
| download | illumos-joyent-93c4aa5e044dab4275fd2ca94a5f16f8580ba9db.tar.gz | |
OS-1037 hyprlofs shouldn't require linkdir priv
Diffstat (limited to 'usr/src')
| -rw-r--r-- | usr/src/uts/common/fs/hyprlofs/hyprlofs_vnops.c | 4 | 
1 files changed, 1 insertions, 3 deletions
| diff --git a/usr/src/uts/common/fs/hyprlofs/hyprlofs_vnops.c b/usr/src/uts/common/fs/hyprlofs/hyprlofs_vnops.c index 01cb6da15e..45b7d4db87 100644 --- a/usr/src/uts/common/fs/hyprlofs/hyprlofs_vnops.c +++ b/usr/src/uts/common/fs/hyprlofs/hyprlofs_vnops.c @@ -940,9 +940,7 @@ hyprlofs_remove(vnode_t *dvp, char *nm, cred_t *cr, caller_context_t *ct,  	rw_enter(&parent->hln_rwlock, RW_WRITER);  	rw_enter(&hp->hln_rwlock, RW_WRITER); -	if (hp->hln_type != VDIR || -	    (error = secpolicy_fs_linkdir(cr, dvp->v_vfsp)) == 0) -		error = hyprlofs_dirdelete(parent, hp, nm, DR_REMOVE, cr); +	error = hyprlofs_dirdelete(parent, hp, nm, DR_REMOVE, cr);  	rw_exit(&hp->hln_rwlock);  	rw_exit(&parent->hln_rwlock); | 
