From: Hugh Dickins Date: Tue, 23 Jun 2009 12:52:49 +0000 (+0100) Subject: mm: don't rely on flags coincidence X-Git-Tag: v2.6.31-rc1~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d26ed650d9947a786bbda8de9cd914dbeebc1a68;p=pandora-kernel.git mm: don't rely on flags coincidence Indeed FOLL_WRITE matches FAULT_FLAG_WRITE, matches GUP_FLAGS_WRITE, and it's tempting to devise a set of Grand Unified Paging flags; but not today. So until then, let's rely upon the compiler to spot the coincidence, "rather than have that subtle dependency and a comment for it" - as you remarked in another context yesterday. Signed-off-by: Hugh Dickins Acked-by: Wu Fengguang Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed