From ff42067bdefaa5f3afac540d81b27a1c2751bed4 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Sun, 28 Jul 2002 09:08:05 -0700 Subject: [PATCH] restore lru_cache_del() in truncate_complete_page I removed the PF_INVALIDATE debug check from buffercache leaks, too. It's non-functional - the flag should have been set across truncate_inode_pages(), not invalidate_inode_pages(). --- include/linux/sched.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/linux') diff --git a/include/linux/sched.h b/include/linux/sched.h index 1ee746b656cf..7adc9c6278b7 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -393,7 +393,7 @@ do { if (atomic_dec_and_test(&(tsk)->usage)) __put_task_struct(tsk); } while(0) #define PF_FREEZE 0x00010000 /* this task should be frozen for suspend */ #define PF_IOTHREAD 0x00020000 /* this thread is needed for doing I/O to swap */ #define PF_FROZEN 0x00040000 /* frozen for system suspend */ -#define PF_INVALIDATE 0x00080000 /* debug: unmounting an fs. killme. */ + /* * Ptrace flags */ -- cgit v1.2.3