diff options
author | Jiri Slaby <jslaby@suse.cz> | 2011-05-27 03:25:17 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-27 04:12:34 +0400 |
commit | dcb3a08e69629ea65a3e9647da730bfaf670497d (patch) | |
tree | da89f661c9e0b2ae3d1dabcc3e27dcf06d2ae8fa /include/linux/init_task.h | |
parent | 02d54f092697b6046e466e447cc694b0e6ed45d0 (diff) | |
download | linux-dcb3a08e69629ea65a3e9647da730bfaf670497d.tar.xz |
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 'include/linux/init_task.h')
0 files changed, 0 insertions, 0 deletions