[merged mm-nonmm-stable] lib-error-inject-remove-error-checking-for-debugfs_create_dir.patch removed from -mm tree

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

 



The quilt patch titled
     Subject: lib: error-inject: remove error checking for debugfs_create_dir()
has been removed from the -mm tree.  Its filename was
     lib-error-inject-remove-error-checking-for-debugfs_create_dir.patch

This patch was dropped because it was merged into the mm-nonmm-stable branch
of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Wang Ming <machel@xxxxxxxx>
Subject: lib: error-inject: remove error checking for debugfs_create_dir()
Date: Wed, 19 Jul 2023 14:44:10 +0000

It is expected that most callers should _ignore_ the errors return by
debugfs_create_dir() in ei_debugfs_init().

Link: https://lkml.kernel.org/r/20230719144355.6720-1-machel@xxxxxxxx
Signed-off-by: Wang Ming <machel@xxxxxxxx>
Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 lib/error-inject.c |    2 --
 1 file changed, 2 deletions(-)

--- a/lib/error-inject.c~lib-error-inject-remove-error-checking-for-debugfs_create_dir
+++ a/lib/error-inject.c
@@ -217,8 +217,6 @@ static int __init ei_debugfs_init(void)
 	struct dentry *dir, *file;
 
 	dir = debugfs_create_dir("error_injection", NULL);
-	if (!dir)
-		return -ENOMEM;
 
 	file = debugfs_create_file("list", 0444, dir, NULL, &ei_fops);
 	if (!file) {
_

Patches currently in -mm which might be from machel@xxxxxxxx are





[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