page-types: introduce checked_open()
authorWu Fengguang <fengguang.wu@intel.com>
Wed, 7 Oct 2009 23:32:29 +0000 (16:32 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 8 Oct 2009 14:36:39 +0000 (07:36 -0700)
commit31bbf66eaaaf50ba79e50ab7d3c89531b31c0614
treebb96b311a4293649f2f0c9e0870330a94ee7e419
parent0c57effe27eb6544eb44d5fac563b7334e3bc771
page-types: introduce checked_open()

This helps merge duplicate code (now and future) and outstand the main
logic.

Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Cc: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/vm/page-types.c