+ bio-integrity-remove-the-needless-fail-handle-of-bip_slab-creating.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: bio-integrity: remove the needless fail handle of bip_slab creating
has been added to the -mm tree.  Its filename is
     bio-integrity-remove-the-needless-fail-handle-of-bip_slab-creating.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/bio-integrity-remove-the-needless-fail-handle-of-bip_slab-creating.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/bio-integrity-remove-the-needless-fail-handle-of-bip_slab-creating.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Gu Zheng <guz.fnst@xxxxxxxxxxxxxx>
Subject: bio-integrity: remove the needless fail handle of bip_slab creating

bip_slab is created with SLAB_PANIC, so the fail handler is unneeded.

Signed-off-by: Gu Zheng <guz.fnst@xxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 block/bio-integrity.c |    2 --
 1 file changed, 2 deletions(-)

diff -puN block/bio-integrity.c~bio-integrity-remove-the-needless-fail-handle-of-bip_slab-creating block/bio-integrity.c
--- a/block/bio-integrity.c~bio-integrity-remove-the-needless-fail-handle-of-bip_slab-creating
+++ a/block/bio-integrity.c
@@ -652,6 +652,4 @@ void __init bio_integrity_init(void)
 				     sizeof(struct bio_integrity_payload) +
 				     sizeof(struct bio_vec) * BIP_INLINE_VECS,
 				     0, SLAB_HWCACHE_ALIGN|SLAB_PANIC, NULL);
-	if (!bip_slab)
-		panic("Failed to create slab\n");
 }
_

Patches currently in -mm which might be from guz.fnst@xxxxxxxxxxxxxx are

x86mem-hotplug-pass-sync_global_pgds-a-correct-argument-in-remove_pagetable.patch
x86mem-hotplug-modify-pgd-entry-when-removing-memory.patch
bio-integrity-remove-the-needless-fail-handle-of-bip_slab-creating.patch
mem-hotplug-avoid-illegal-state-prefixed-with-legal-state-when-changing-state-of-memory_block.patch
mem-hotplug-introduce-mmop_offline-to-replace-the-hard-coding-1.patch
linux-next.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




[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux