lkml.org 
[lkml]   [2006]   [Sep]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: [patch 6/8] debugfs entries for configuration
From
Date
Factor out process-filter functionality, move later in series to
process-filter-specific patch.


Signed-off-by: Don Mullis <dwm@meer.net>

---
lib/fault-inject-debugfs.c | 11 -----------
1 file changed, 11 deletions(-)

Index: linux-2.6.17/lib/fault-inject-debugfs.c
===================================================================
--- linux-2.6.17.orig/lib/fault-inject-debugfs.c
+++ linux-2.6.17/lib/fault-inject-debugfs.c
@@ -8,7 +8,6 @@ struct fault_attr_entries {
struct dentry *interval_file;
struct dentry *times_file;
struct dentry *space_file;
- struct dentry *process_filter_file;
};

static void debugfs_ul_set(void *data, u64 val)
@@ -67,10 +66,6 @@ static void cleanup_fault_attr_entries(s
debugfs_remove(entries->space_file);
entries->space_file = NULL;
}
- if (entries->process_filter_file) {
- debugfs_remove(entries->process_filter_file);
- entries->process_filter_file = NULL;
- }
debugfs_remove(entries->dir);
entries->dir = NULL;
}
@@ -110,12 +105,6 @@ static int init_fault_attr_entries(struc
goto fail;
entries->space_file = file;

- file = debugfs_create_bool("process-filter", mode, dir,
- &attr->process_filter);
- if (!file)
- goto fail;
- entries->process_filter_file = file;
-
return 0;
fail:
cleanup_fault_attr_entries(entries);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-09-19 08:01    [W:0.118 / U:0.828 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site