]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbdcc7b332fd4e4e9bad29bea173dc481f7554f87
tree9b461294e91e2995ed31366d4faf77e0b03accd7
parent90fb3a4f807e895eeefc8ae08b0b6a0a939c6b9a
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