summaryrefslogtreecommitdiffstats
path: root/sys/fs/umapfs/umap_vfsops.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2002-10-05 11:24:21 +0000
committerbrian <brian@FreeBSD.org>2002-10-05 11:24:21 +0000
commit89d8005f0102ab344020eebd41193f2045c526f7 (patch)
tree06d011fa205975a7cfc45bf358d8be1841a048fa /sys/fs/umapfs/umap_vfsops.c
parent747ba408ec03eaa78f011c520d58c7e52de2de00 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud