proc: fix kflags to uflags copying in /proc/kpageflags
authorWu Fengguang <fengguang.wu@intel.com>
Wed, 11 Mar 2009 01:00:04 +0000 (09:00 +0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Mar 2009 14:43:33 +0000 (07:43 -0700)
Fix kpf_copy_bit(src,dst) to be kpf_copy_bit(dst,src) to match the
actual call patterns, e.g. kpf_copy_bit(kflags, KPF_LOCKED, PG_locked).

This misplacement of src/dst only affected reporting of PG_writeback,
PG_reclaim and PG_buddy. For others kflags==uflags so not affected.

Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: stable@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/page.c

diff --cc fs/proc/page.c
Simple merge