Skip to contentSkip to conversation

lib-remove-error-checking-for-debugfs_create_dir.patch removed from -mm tree

merged mm-nonmm-stable Andrew Morton 1 participant 1 message Aug 12, 2023

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: lib: remove error checking for debugfs_create_dir()
has been removed from the -mm tree. Its filename was
lib-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 <[email protected]>
Subject: lib: remove error checking for debugfs_create_dir()
Date: Thu, 13 Jul 2023 16:24:43 +0800

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

---

 lib/notifier-error-inject.c |    3 ---
 1 file changed, 3 deletions(-)
lib/notifier-error-inject.c renamed from lib/notifier-error-inject.c~lib-remove-error-checking-for-debugfs_create_dir +0 -3
@@ -83,9 +83,6 @@ static int __init err_inject_init(void)
 	notifier_err_inject_dir =
 		debugfs_create_dir("notifier-error-inject", NULL);
 
-	if (!notifier_err_inject_dir)
-		return -ENOMEM;
-
 	return 0;
 }
 

_

Patches currently in -mm which might be from [email protected] are