summaryrefslogtreecommitdiffstats
path: root/block/blk-sysfs.c
diff options
context:
space:
mode:
authorRichard2017-05-21 21:27:00 +0200
committerJens Axboe2017-05-23 17:16:07 +0200
commit223220356d5ebc05ead9a8d697abb0c0a906fc81 (patch)
treed1425ac58a36cdb4d8ac1046719b4eda4f6748d3 /block/blk-sysfs.c
parentblock: fix an error code in add_partition() (diff)
downloadkernel-qcow2-linux-223220356d5ebc05ead9a8d697abb0c0a906fc81.tar.gz
kernel-qcow2-linux-223220356d5ebc05ead9a8d697abb0c0a906fc81.tar.xz
kernel-qcow2-linux-223220356d5ebc05ead9a8d697abb0c0a906fc81.zip
partitions/msdos: FreeBSD UFS2 file systems are not recognized
The code in block/partitions/msdos.c recognizes FreeBSD, OpenBSD and NetBSD partitions and does a reasonable job picking out OpenBSD and NetBSD UFS subpartitions. But for FreeBSD the subpartitions are always "bad". Kernel: <bsd:bad subpartition - ignored Though all 3 of these BSD systems use UFS as a file system, only FreeBSD uses relative start addresses in the subpartition declarations. The following patch fixes this for FreeBSD partitions and leaves the code for OpenBSD and NetBSD intact: Signed-off-by: Richard Narron <comet.berkeley@gmail.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-sysfs.c')
0 files changed, 0 insertions, 0 deletions