commit | dcb3a08e69629ea65a3e9647da730bfaf670497d | [log] [tgz] |
---|---|---|
author | Jiri Slaby <jslaby@suse.cz> | Thu May 26 16:25:17 2011 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu May 26 17:12:34 2011 -0700 |
tree | da89f661c9e0b2ae3d1dabcc3e27dcf06d2ae8fa | |
parent | 02d54f092697b6046e466e447cc694b0e6ed45d0 [diff] |
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>