sys/vfs/msdosfs: Remove DragonFly specific macro de_off2cn()
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Fri, 25 Oct 2019 15:44:14 +0000 (00:44 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Fri, 25 Oct 2019 15:44:14 +0000 (00:44 +0900)
commitc89bff582dcc673dbbc1ea62de279a83f162ba0c
tree7f9e0a49ddf24b2b8281054b9131e81b9c8c4ef3
parent6455a89b5a37eff040be62dd507c455095873c6c
sys/vfs/msdosfs: Remove DragonFly specific macro de_off2cn()

4afd80f1a2 contains several fixes, but from the way de_cluster()
is used, an explicitly casted version of de_cluster() shouldn't
be needed.

Note that maximum cluster# (and file relative cluster# too) in
FAT12/16/32 is much smaller than maximum int32_t value. Note that
maximum file size in FAT12/16/32 is < 4GiB.
sys/vfs/msdosfs/msdosfs_denode.c
sys/vfs/msdosfs/msdosfs_vnops.c
sys/vfs/msdosfs/msdosfsmount.h