Module Name:    src
Committed By:   mrg
Date:           Thu Jul  4 05:59:05 UTC 2024

Modified Files:
        src/sys/kern: vfs_syscalls.c

Log Message:
don't fd_putfile() if you haven't grabbed a ref already.

the condition to call fd_getvnode() was changed, but the condition
to call fd_putfile() afterwards was not changed, leading to a panic
seen by Chavdar on current-users, probably.

builds, runs, seems obvious.


To generate a diff of this commit:
cvs rdiff -u -r1.564 -r1.565 src/sys/kern/vfs_syscalls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Reply via email to