]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - fs/ext4/super.c
ext4: return an error if kset_create_and_add fails in ext4_init_fs()
authorTheodore Ts'o <tytso@mit.edu>
Fri, 17 Aug 2012 14:04:17 +0000 (10:04 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 17 Aug 2012 14:04:17 +0000 (10:04 -0400)
commit0e376b1e3ccedee49cb8cc6b652fbc1e7c15eeef
tree9b461294e91e2995ed31366d4faf77e0b03accd7
parent15c006a22f8e004afbce42a54c878162355f1587
ext4: return an error if kset_create_and_add fails in ext4_init_fs()

In the very unlikely case that kset_create_and_add() fails when the
ext4.ko module is being loaded (or during kernel startup) set err so
that it's clear that the module load failed.

https://bugzilla.kernel.org/show_bug.cgi?id=27912

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/super.c