[PATCH] bitops: ntfs: remove generic_ffs()
Now the only user who are using generic_ffs() is ntfs filesystem. This patch isolates generic_ffs() as ntfs_ffs() for ntfs. Signed-off-by: Akinobu Mita <mita@miraclelinux.com> Cc: Anton Altaparmakov <aia21@cantab.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
55b0f8a68a
commit
b9a2838cc2
@@ -2670,7 +2670,7 @@ mft_rec_already_initialized:
|
||||
ni->name_len = 4;
|
||||
|
||||
ni->itype.index.block_size = 4096;
|
||||
ni->itype.index.block_size_bits = generic_ffs(4096) - 1;
|
||||
ni->itype.index.block_size_bits = ntfs_ffs(4096) - 1;
|
||||
ni->itype.index.collation_rule = COLLATION_FILE_NAME;
|
||||
if (vol->cluster_size <= ni->itype.index.block_size) {
|
||||
ni->itype.index.vcn_size = vol->cluster_size;
|
||||
|
Reference in New Issue
Block a user