diff options
author | jeff <jeff@FreeBSD.org> | 2005-04-13 10:59:09 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2005-04-13 10:59:09 +0000 |
commit | afab3762a03836a33f6a8bd19afdb3d9559e12ec (patch) | |
tree | d93f4bc84645fcd224218d7e1c19b2f6b18a4c6c /sys/compat/linux/linux_getcwd.c | |
parent | 5642885b84d3a8dfdbf202dfbab02e5c4a93576f (diff) | |
download | FreeBSD-src-afab3762a03836a33f6a8bd19afdb3d9559e12ec.zip FreeBSD-src-afab3762a03836a33f6a8bd19afdb3d9559e12ec.tar.gz |
- Change all filesystems and vfs_cache to relock the dvp once the child is
locked in the ISDOTDOT case. Se vfs_lookup.c r1.79 for details.
Sponsored by: Isilon Systems, Inc.
Diffstat (limited to 'sys/compat/linux/linux_getcwd.c')
-rw-r--r-- | sys/compat/linux/linux_getcwd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/linux/linux_getcwd.c b/sys/compat/linux/linux_getcwd.c index 1dfe6b4..9b810a3 100644 --- a/sys/compat/linux/linux_getcwd.c +++ b/sys/compat/linux/linux_getcwd.c @@ -185,7 +185,7 @@ linux_getcwd_scandir(lvpp, uvpp, bpp, bufp, td) /* If we don't care about the pathname, we're done */ if (bufp == NULL) { - vrele(lvp); + vput(lvp); *lvpp = NULL; return 0; } @@ -281,7 +281,7 @@ unionread: error = ENOENT; out: - vrele(lvp); + vput(lvp); *lvpp = NULL; free(dirbuf, M_TEMP); return error; |