NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/53928 CVS commit: src



The following reply was made to PR kern/53928; it has been noted by GNATS.

From: "Juergen Hannken-Illjes" <hannken%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/53928 CVS commit: src
Date: Wed, 20 Feb 2019 10:08:38 +0000

 Module Name:	src
 Committed By:	hannken
 Date:		Wed Feb 20 10:08:38 UTC 2019
 
 Modified Files:
 	src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_ctldir.c
 	src/sys/kern: vfs_mount.c vfs_trans.c
 
 Log Message:
 Move fstrans_unmount() to vfs_rele(), just before it would free the mount.
 Don't take a mount reference for fstrans as it gets notified about the release.
 
 Defer the final free of the mount to fstrans_mount_dtor() when fstrans
 has released all references to this mount.  Prevents the mount's memory
 to be reused as a new mount before fstrans released all references.
 
 Address PR kern/53928 modules/t_builtin:disable test case randomly fails.
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.5 -r1.6 \
     src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_ctldir.c
 cvs rdiff -u -r1.69 -r1.70 src/sys/kern/vfs_mount.c
 cvs rdiff -u -r1.52 -r1.53 src/sys/kern/vfs_trans.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index