Subject: [merged] fs-hfsplus-wrapperc-replace-shift-loop-by-ilog2.patch removed from -mm tree To: fabf@xxxxxxxxx,joe@xxxxxxxxxxx,slava@xxxxxxxxxxx,mm-commits@xxxxxxxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Mon, 09 Jun 2014 12:32:17 -0700 The patch titled Subject: fs/hfsplus/wrapper.c: replace shift loop by ilog2 has been removed from the -mm tree. Its filename was fs-hfsplus-wrapperc-replace-shift-loop-by-ilog2.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Fabian Frederick <fabf@xxxxxxxxx> Subject: fs/hfsplus/wrapper.c: replace shift loop by ilog2 Replace while blocksize;shift by ilog2 Signed-off-by: Fabian Frederick <fabf@xxxxxxxxx> Cc: Vyacheslav Dubeyko <slava@xxxxxxxxxxx> Cc: Joe Perches <joe@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/hfsplus/wrapper.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff -puN fs/hfsplus/wrapper.c~fs-hfsplus-wrapperc-replace-shift-loop-by-ilog2 fs/hfsplus/wrapper.c --- a/fs/hfsplus/wrapper.c~fs-hfsplus-wrapperc-replace-shift-loop-by-ilog2 +++ a/fs/hfsplus/wrapper.c @@ -231,9 +231,7 @@ reread: if (blocksize < HFSPLUS_SECTOR_SIZE || ((blocksize - 1) & blocksize)) goto out_free_backup_vhdr; sbi->alloc_blksz = blocksize; - sbi->alloc_blksz_shift = 0; - while ((blocksize >>= 1) != 0) - sbi->alloc_blksz_shift++; + sbi->alloc_blksz_shift = ilog2(blocksize); blocksize = min_t(u32, sbi->alloc_blksz, PAGE_SIZE); /* _ Patches currently in -mm which might be from fabf@xxxxxxxxx are origin.patch fs-cifs-remove-obsolete-__constant.patch kernel-posix-timersc-code-clean-up.patch kernel-posix-timersc-code-clean-up-checkpatch-fixes.patch fs-ext4-fsyncc-generic_file_fsync-call-based-on-barrier-flag.patch fs-isofs-logging-clean-up.patch linux-next.patch kernel-watchdogc-convert-printk-pr_warning-to-pr_foo.patch init-mainc-code-clean-up.patch kernel-kprobesc-convert-printk-to-pr_foo.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