]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Avoid crash when opening Coda device: when allocating coda_mntinfo, we
authorrwatson <rwatson@FreeBSD.org>
Wed, 11 Jul 2007 20:39:53 +0000 (20:39 +0000)
committerrwatson <rwatson@FreeBSD.org>
Wed, 11 Jul 2007 20:39:53 +0000 (20:39 +0000)
commit3287a2c53fcfb6141e98f687b8bc2a5df5fdc418
tree72d4595c5d531da5e33d28a645ab6f54df2c401c
parent33e96346efa30f1edc600237f9c28416c1364c7b
Avoid crash when opening Coda device: when allocating coda_mntinfo, we
need to initialize dev so that we can actually find the allocated
coda_mntinfo structure later on.

Submitted by: Jan Harkes <jaharkes@cs.cmu.edu>
Approved by: re (kensmith)
sys/coda/coda_fbsd.c
sys/coda/coda_psdev.c
sys/fs/coda/coda_fbsd.c
sys/fs/coda/coda_psdev.c