]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix ntfs such that it understand media with a non-512-bytes sector size:
authorguido <guido@FreeBSD.org>
Mon, 7 Dec 2009 15:15:08 +0000 (15:15 +0000)
committerguido <guido@FreeBSD.org>
Mon, 7 Dec 2009 15:15:08 +0000 (15:15 +0000)
commit8de2ee35f1dc5c1d236cb5441c9be55e77c45d77
treeeecafee7c2310019b87164f08f35f52c4882f967
parent2a4cc74b50f5931f03bb1e2237d31a20bdbebc1a
Fix ntfs such that it understand media with a non-512-bytes sector size:
1. Fixups are always done on 512 byte chunks (in stead of sectors). This
is kind of stupid.
2. Conevrt between NTFS blocknumbers (the blocksize equals the media
sector size) and the bread() and getblk() blocknr (which are 512-byte
sized)

NB: this change should not affect ntfs for 512-byte sector sizes.
sys/fs/ntfs/ntfs.h
sys/fs/ntfs/ntfs_subr.c
sys/fs/ntfs/ntfs_vfsops.c