All of lore.kernel.org
 help / color / mirror / Atom feed
* + fs-hfsplus-replace-if-bug-by-bug_on.patch added to -mm tree
@ 2015-03-12 22:40 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2015-03-12 22:40 UTC (permalink / raw)
  To: fabf, mm-commits


The patch titled
     Subject: fs/hfsplus: replace if/BUG by BUG_ON
has been added to the -mm tree.  Its filename is
     fs-hfsplus-replace-if-bug-by-bug_on.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/fs-hfsplus-replace-if-bug-by-bug_on.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/fs-hfsplus-replace-if-bug-by-bug_on.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: Fabian Frederick <fabf@skynet.be>
Subject: fs/hfsplus: replace if/BUG by BUG_ON

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 fs/hfsplus/bfind.c |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff -puN fs/hfsplus/bfind.c~fs-hfsplus-replace-if-bug-by-bug_on fs/hfsplus/bfind.c
--- a/fs/hfsplus/bfind.c~fs-hfsplus-replace-if-bug-by-bug_on
+++ a/fs/hfsplus/bfind.c
@@ -118,9 +118,7 @@ int __hfs_brec_find(struct hfs_bnode *bn
 	int b, e;
 	int res;
 
-	if (!rec_found)
-		BUG();

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-03-12 22:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-12 22:40 + fs-hfsplus-replace-if-bug-by-bug_on.patch added to -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.