diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2001-03-07 02:25:13 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2001-03-07 02:25:13 +0000 |
| commit | 2aa33d2f1e263d7ab3bde68c54bbf030e77d18bb (patch) | |
| tree | a52ffa5c3bca69d4a2fed67ca858beae0e319253 /sys/kern/vfs_extattr.c | |
| parent | c65437a326c869dc29a9850887657363a24512ea (diff) | |
Notes
Diffstat (limited to 'sys/kern/vfs_extattr.c')
| -rw-r--r-- | sys/kern/vfs_extattr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/vfs_extattr.c b/sys/kern/vfs_extattr.c index 1670d4ece9f4..a6c988738fa1 100644 --- a/sys/kern/vfs_extattr.c +++ b/sys/kern/vfs_extattr.c @@ -418,6 +418,8 @@ checkdirs(olddp, newdp) ALLPROC_LOCK(AP_SHARED); LIST_FOREACH(p, &allproc, p_list) { fdp = p->p_fd; + if (fdp == NULL) + continue; if (fdp->fd_cdir == olddp) { vrele(fdp->fd_cdir); VREF(newdp); |
