CVSROOT: /cvs Module name: src Changes by: s...@cvs.openbsd.org 2017/08/14 16:45:12
Modified files: sys/msdosfs : fat.h Log message: msdofs: Add new CLUST_END constant (forgot to commit fat.h) Add new CLUST_END and use it as parameter to pcbmap() when searching for end cluster, instead of explicitly passing 0xffff. This fixes potential problem for FAT32, where cluster number may be legally bigger than 0xffff. Also change clusteralloc() so that fillwith is not explicitly passed by caller anymore (there is no need to use anything other than CLUST_EOFE). >From NetBSD commit by jdole...@netbsd.org ok tb@ mpi@