[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1158645159.2419.4.camel@localhost.localdomain>
Date: Mon, 18 Sep 2006 22:52:39 -0700
From: Don Mullis <dwm@...r.net>
To: Akinobu Mita <mita@...aclelinux.com>
Cc: linux-kernel@...r.kernel.org, ak@...e.de, akpm@...l.org
Subject: Re: [patch 6/8] debugfs entries for configuration
Factor out process-filter functionality, move later in series to
process-filter-specific patch.
Signed-off-by: Don Mullis <dwm@...r.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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists