From: Wu Fengguang Date: Wed, 11 Mar 2009 01:00:04 +0000 (+0800) Subject: proc: fix kflags to uflags copying in /proc/kpageflags X-Git-Tag: v2.6.29-rc8~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad3bdefe877afb47480418fdb05ecd42842de65e;p=pandora-kernel.git proc: fix kflags to uflags copying in /proc/kpageflags 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 Reviewed-by: KOSAKI Motohiro Cc: stable@kernel.org Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed