The patch titled is_power_of_2 in fs/hfs has been removed from the -mm tree. Its filename was is_power_of_2-in-fs-hfs.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: is_power_of_2 in fs/hfs From: Vignesh Babu BM <vignesh.babu@xxxxxxxxx> Replace (n & (n-1)) in the context of power of 2 checks with is_power_of_2 Signed-off-by: vignesh babu <vignesh.babu@xxxxxxxxx> Cc: Roman Zippel <zippel@xxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/hfs/btree.c | 3 ++- fs/hfsplus/btree.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff -puN fs/hfs/btree.c~is_power_of_2-in-fs-hfs fs/hfs/btree.c --- a/fs/hfs/btree.c~is_power_of_2-in-fs-hfs +++ a/fs/hfs/btree.c @@ -9,6 +9,7 @@ */ #include <linux/pagemap.h> +#include <linux/log2.h> #include "btree.h" @@ -76,7 +77,7 @@ struct hfs_btree *hfs_btree_open(struct tree->depth = be16_to_cpu(head->depth); size = tree->node_size; - if (!size || size & (size - 1)) + if (!is_power_of_2(size)) goto fail_page; if (!tree->node_count) goto fail_page; diff -puN fs/hfsplus/btree.c~is_power_of_2-in-fs-hfs fs/hfsplus/btree.c --- a/fs/hfsplus/btree.c~is_power_of_2-in-fs-hfs +++ a/fs/hfsplus/btree.c @@ -10,6 +10,7 @@ #include <linux/slab.h> #include <linux/pagemap.h> +#include <linux/log2.h> #include "hfsplus_fs.h" #include "hfsplus_raw.h" @@ -69,7 +70,7 @@ struct hfs_btree *hfs_btree_open(struct } size = tree->node_size; - if (!size || size & (size - 1)) + if (!is_power_of_2(size)) goto fail_page; if (!tree->node_count) goto fail_page; _ Patches currently in -mm which might be from vignesh.babu@xxxxxxxxx are origin.patch git-alsa.patch git-ia64.patch git-scsi-misc.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html