summaryrefslogtreecommitdiffstats
path: root/fs/fscache/operation.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2010-03-29 13:08:52 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2010-03-29 09:14:47 -0700
commita53f4f9efaeb1d87cfae066346979d4d70e1abe9 (patch)
treed774e3c010b96bc71226d5aedd1df04462629db5 /fs/fscache/operation.c
parent88be12c440cfa2fa3f5be83507360aac9ea1c54e (diff)
downloadlinux-a53f4f9efaeb1d87cfae066346979d4d70e1abe9.tar.gz
linux-a53f4f9efaeb1d87cfae066346979d4d70e1abe9.tar.bz2
linux-a53f4f9efaeb1d87cfae066346979d4d70e1abe9.zip
SLOW_WORK: CONFIG_SLOW_WORK_PROC should be CONFIG_SLOW_WORK_DEBUG
CONFIG_SLOW_WORK_PROC was changed to CONFIG_SLOW_WORK_DEBUG, but not in all instances. Change the remaining instances. This makes the debugfs file display the time mark and the owner's description again. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/fscache/operation.c')
-rw-r--r--fs/fscache/operation.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/fscache/operation.c b/fs/fscache/operation.c
index 313e79a14266..9f6c928d4586 100644
--- a/fs/fscache/operation.c
+++ b/fs/fscache/operation.c
@@ -500,7 +500,7 @@ static void fscache_op_execute(struct slow_work *work)
/*
* describe an operation for slow-work debugging
*/
-#ifdef CONFIG_SLOW_WORK_PROC
+#ifdef CONFIG_SLOW_WORK_DEBUG
static void fscache_op_desc(struct slow_work *work, struct seq_file *m)
{
struct fscache_operation *op =
@@ -517,7 +517,7 @@ const struct slow_work_ops fscache_op_slow_work_ops = {
.get_ref = fscache_op_get_ref,
.put_ref = fscache_op_put_ref,
.execute = fscache_op_execute,
-#ifdef CONFIG_SLOW_WORK_PROC
+#ifdef CONFIG_SLOW_WORK_DEBUG
.desc = fscache_op_desc,
#endif
};