diff options
| author | Jeff Roberson <jeff@FreeBSD.org> | 2005-04-13 10:59:09 +0000 |
|---|---|---|
| committer | Jeff Roberson <jeff@FreeBSD.org> | 2005-04-13 10:59:09 +0000 |
| commit | 4585e3ac5acae3560e30d71102156bf7fd0afe52 (patch) | |
| tree | d93f4bc84645fcd224218d7e1c19b2f6b18a4c6c /sys/compat/linux | |
| parent | 374df05fd3a21fb47247b5f8cc01c8e485d5d9b7 (diff) | |
Notes
Diffstat (limited to 'sys/compat/linux')
| -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 1dfe6b400ec9e..9b810a38ca386 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; |
