summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-12-23 20:25:36 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2011-12-23 20:25:36 -0800
commit6d451c578c7222c7e9305c2e776a654dc6ec06c3 (patch)
tree93288fb3bba3ece1de4117e7db8f74754db5d66e /fs
parent71448c1f4fd7c1b2bab766b3bf2b675cfe71b9ff (diff)
parentb3bba872ddb0320a7ecb54decae53c13ceb2ed4c (diff)
downloadlinux-3.10-6d451c578c7222c7e9305c2e776a654dc6ec06c3.tar.gz
linux-3.10-6d451c578c7222c7e9305c2e776a654dc6ec06c3.tar.bz2
linux-3.10-6d451c578c7222c7e9305c2e776a654dc6ec06c3.zip
Merge tag 'writeback' of git://git.kernel.org/pub/scm/linux/kernel/git/wfg/linux
for linus: writeback reason binary tracing format fix * tag 'writeback' of git://git.kernel.org/pub/scm/linux/kernel/git/wfg/linux: writeback: show writeback reason with __print_symbolic
Diffstat (limited to 'fs')
-rw-r--r--fs/fs-writeback.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c
index ac86f8b3e3c..517f211a3bd 100644
--- a/fs/fs-writeback.c
+++ b/fs/fs-writeback.c
@@ -47,17 +47,6 @@ struct wb_writeback_work {
struct completion *done; /* set if the caller waits */
};
-const char *wb_reason_name[] = {
- [WB_REASON_BACKGROUND] = "background",
- [WB_REASON_TRY_TO_FREE_PAGES] = "try_to_free_pages",
- [WB_REASON_SYNC] = "sync",
- [WB_REASON_PERIODIC] = "periodic",
- [WB_REASON_LAPTOP_TIMER] = "laptop_timer",
- [WB_REASON_FREE_MORE_MEM] = "free_more_memory",
- [WB_REASON_FS_FREE_SPACE] = "fs_free_space",
- [WB_REASON_FORKER_THREAD] = "forker_thread"
-};
-
/*
* Include the creation of the trace points after defining the
* wb_writeback_work structure so that the definition remains local to this