Mercurial > illumos > illumos-gate
changeset 12714:711e35fbf43b
6878143 Assertion failure in sockfs:uri_delete
author | Anil udupa <anil.udupa@sun.com> |
---|---|
date | Mon, 28 Jun 2010 10:49:02 -0700 |
parents | 8c87d3621175 |
children | cdbca398ec82 |
files | usr/src/uts/common/fs/sockfs/nl7curi.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/uts/common/fs/sockfs/nl7curi.c Mon Jun 28 09:22:23 2010 -0700 +++ b/usr/src/uts/common/fs/sockfs/nl7curi.c Mon Jun 28 10:49:02 2010 -0700 @@ -19,8 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2009 Sun Microsystems, Inc. All rights reserved. - * Use is subject to license terms. + * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. */ #include <sys/strsubr.h> @@ -1858,7 +1857,8 @@ return (0); invalidate: - uri_delete(uri); + if (uri->hash != URI_TEMP) + uri_delete(uri); return (error); }