+ ocfs-no-need-to-check-return-value-of-debugfs_create-functions-v2.patch added to -mm tree

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

 



The patch titled
     Subject: ocfs-no-need-to-check-return-value-of-debugfs_create-functions-v2
has been added to the -mm tree.  Its filename is
     ocfs-no-need-to-check-return-value-of-debugfs_create-functions-v2.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/ocfs-no-need-to-check-return-value-of-debugfs_create-functions-v2.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/ocfs-no-need-to-check-return-value-of-debugfs_create-functions-v2.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/process/submit-checklist.rst when testing your code ***

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

------------------------------------------------------
From: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Subject: ocfs-no-need-to-check-return-value-of-debugfs_create-functions-v2

Link: http://lkml.kernel.org/r/20190613055455.GE19717@xxxxxxxxx
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Reviewed-by: Joseph Qi <joseph.qi@xxxxxxxxxxxxxxxxx>
Cc: Mark Fasheh <mark@xxxxxxxxxx>
Cc: Joel Becker <jlbec@xxxxxxxxxxxx>
Cc: Jia Guo <guojia12@xxxxxxxxxx>
Cc: Changwei Ge <gechangwei@xxxxxxx>
Cc: Gang He <ghe@xxxxxxxx>
Cc: Jun Piao <piaojun@xxxxxxxxxx>
Cc: Junxiao Bi <junxiao.bi@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 fs/ocfs2/blockcheck.c        |    2 --
 fs/ocfs2/cluster/heartbeat.c |    2 --
 2 files changed, 4 deletions(-)

--- a/fs/ocfs2/blockcheck.c~ocfs-no-need-to-check-return-value-of-debugfs_create-functions-v2
+++ a/fs/ocfs2/blockcheck.c
@@ -250,8 +250,6 @@ static void ocfs2_blockcheck_debug_remov
 static void ocfs2_blockcheck_debug_install(struct ocfs2_blockcheck_stats *stats,
 					   struct dentry *parent)
 {
-	int rc = -EINVAL;
-
 	stats->b_debug_dir = debugfs_create_dir("blockcheck", parent);
 
 	blockcheck_debugfs_create("blocks_checked", stats->b_debug_dir,
--- a/fs/ocfs2/cluster/heartbeat.c~ocfs-no-need-to-check-return-value-of-debugfs_create-functions-v2
+++ a/fs/ocfs2/cluster/heartbeat.c
@@ -1413,8 +1413,6 @@ static struct dentry *o2hb_debug_create(
 
 static void o2hb_debug_init(void)
 {
-	int ret = -ENOMEM;
-
 	o2hb_debug_dir = debugfs_create_dir(O2HB_DEBUG_DIR, NULL);
 
 	o2hb_debug_create(O2HB_DEBUG_LIVENODES, o2hb_debug_dir,
_

Patches currently in -mm which might be from gregkh@xxxxxxxxxxxxxxxxxxx are

ocfs-no-need-to-check-return-value-of-debugfs_create-functions.patch
ocfs-no-need-to-check-return-value-of-debugfs_create-functions-v2.patch
lib-debugobjects-no-need-to-check-return-value-of-debugfs_create-functions.patch




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

  Powered by Linux