diff options
author | brian <brian@FreeBSD.org> | 2002-10-05 11:24:21 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2002-10-05 11:24:21 +0000 |
commit | 89d8005f0102ab344020eebd41193f2045c526f7 (patch) | |
tree | 06d011fa205975a7cfc45bf358d8be1841a048fa /sys/fs/umapfs/umap_vfsops.c | |
parent | 747ba408ec03eaa78f011c520d58c7e52de2de00 (diff) | |
download | FreeBSD-src-89d8005f0102ab344020eebd41193f2045c526f7.zip FreeBSD-src-89d8005f0102ab344020eebd41193f2045c526f7.tar.gz |
If dsgetlabel() returns a label with a size of zero in diskdumpconf(),
treat it as an invalid partition.
This fixes a bug where ``dumpon <device>'' will configure the dump
device at a random offset on the disk if <device> isn't a valid
partition.
Reviewed by: phk
Diffstat (limited to 'sys/fs/umapfs/umap_vfsops.c')
0 files changed, 0 insertions, 0 deletions