summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2011-05-26 16:25:17 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-05-26 17:12:34 -0700
commitdcb3a08e69629ea65a3e9647da730bfaf670497d (patch)
treeda89f661c9e0b2ae3d1dabcc3e27dcf06d2ae8fa /kernel
parent02d54f092697b6046e466e447cc694b0e6ed45d0 (diff)
downloadlinux-stable-dcb3a08e69629ea65a3e9647da730bfaf670497d.tar.gz
linux-stable-dcb3a08e69629ea65a3e9647da730bfaf670497d.tar.bz2
linux-stable-dcb3a08e69629ea65a3e9647da730bfaf670497d.zip
Documentation: configfs examples crash fix
When configfs_register_subsystem() fails, we unregister too many subsystems in configfs_example_init. Decrement i by one to not unregister non-registered subsystem. [akpm@linux-foundation.org: coding-style fixes] Signed-off-by: Jiri Slaby <jslaby@suse.cz> Cc: Joel Becker <joel.becker@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions