projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ltt-ascii init fix, renaming CONFIG_LTT_* options to LTT_*
[lttng-modules.git]
/
ltt-ascii.c
diff --git
a/ltt-ascii.c
b/ltt-ascii.c
index ed3c20d58dfa23df49340b70e0de25bbedc7d0a3..b020fedb39a62ea1771e51d52006e2b6ed7db70d 100644
(file)
--- a/
ltt-ascii.c
+++ b/
ltt-ascii.c
@@
-568,7
+568,6
@@
EXPORT_SYMBOL_GPL(ltt_ascii_remove_dir);
__init int ltt_ascii_init(void)
{
ltt_ascii_dir_dentry = debugfs_create_dir(LTT_ASCII, get_ltt_root());
__init int ltt_ascii_init(void)
{
ltt_ascii_dir_dentry = debugfs_create_dir(LTT_ASCII, get_ltt_root());
- put_ltt_root();
return ltt_ascii_dir_dentry ? 0 : -EFAULT;
}
return ltt_ascii_dir_dentry ? 0 : -EFAULT;
}
@@
-576,6
+575,7
@@
__init int ltt_ascii_init(void)
__exit void ltt_ascii_exit(void)
{
debugfs_remove(ltt_ascii_dir_dentry);
__exit void ltt_ascii_exit(void)
{
debugfs_remove(ltt_ascii_dir_dentry);
+ put_ltt_root();
}
MODULE_LICENSE("GPL and additional rights");
}
MODULE_LICENSE("GPL and additional rights");
This page took
0.024457 seconds
and
4
git commands to generate.