VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   35 Branches   59 Tags
author: Eric Biggers <ebiggers@google.com> 2020-04-10 14:33:47 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2020-04-10 15:36:22 -0700 commit: 26c5d78c976ca298e59a56f6101a97b618ba3539 parent: d7d27cfc5cf0766a26a8f56868c5ad5434735126
Commit Summary:
fs/filesystems.c: downgrade user-reachable WARN_ONCE() to pr_warn_once()
Diffstat:
1 file changed, 3 insertions, 1 deletion
diff --git a/fs/filesystems.c b/fs/filesystems.c
index 77bf5f95362d..90b8d879fbaf 100644
--- a/fs/filesystems.c
+++ b/fs/filesystems.c
@@ -272,7 +272,9 @@ struct file_system_type *get_fs_type(const char *name)
 	fs = __get_fs_type(name, len);
 	if (!fs && (request_module("fs-%.*s", len, name) == 0)) {
 		fs = __get_fs_type(name, len);
-		WARN_ONCE(!fs, "request_module fs-%.*s succeeded, but still no fs?\n", len, name);
+		if (!fs)
+			pr_warn_once("request_module fs-%.*s succeeded, but still no fs?\n",
+				     len, name);
 	}
 
 	if (dot && fs && !(fs->fs_flags & FS_HAS_SUBTYPE)) {