diff options
author | Lee Schermerhorn <Lee.Schermerhorn@hp.com> | 2009-04-02 16:56:45 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-02 19:04:49 -0700 |
commit | 9a896c9a48ac6704c0ce8ee081b836644d0afe40 (patch) | |
tree | 681a5453326641cef362a53fb8e031af55ebc87d /fs/hugetlbfs | |
parent | 8e2c3795c78d5c4e2e1f14ce751e9d08decbe9d3 (diff) | |
download | linux-9a896c9a48ac6704c0ce8ee081b836644d0afe40.tar.bz2 |
mm: define a UNIQUE value for AS_UNEVICTABLE flag
A new "address_space flag"--AS_MM_ALL_LOCKS--was defined to use the next
available AS flag while the Unevictable LRU was under development. The
Unevictable LRU was using the same flag and "no one" noticed. Current
mainline, since 2.6.28, has same value for two symbolic flag names.
So, define a unique flag value for AS_UNEVICTABLE--up close to the other
flags, [at the cost of an additional #ifdef] so we'll notice next time.
Note that #ifdef is not actually required, if we don't mind having the
unused flag value defined.
Replace #defines with an enum.
Signed-off-by: Lee Schermerhorn <lee.schermerhorn@hp.com>
Cc: <stable@kernel.org> [2.6.28.x, 2.6.29.x]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/hugetlbfs')
0 files changed, 0 insertions, 0 deletions