From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oren Laadan Subject: [C/R v20][PATCH 40/96] c/r: introduce method '->checkpoint()' in struct vm_operations_struct Date: Thu, 18 Mar 2010 20:59:49 -0400 Message-ID: <1268960401-16680-6-git-send-email-orenl@cs.columbia.edu> References: <1268960401-16680-1-git-send-email-orenl@cs.columbia.edu> Cc: containers@lists.linux-foundation.org, Matt Helsley , Andreas Dilger , Oren Laadan To: linux-fsdevel@vger.kernel.org Return-path: Received: from tarap.cc.columbia.edu ([128.59.29.7]:46961 "EHLO tarap.cc.columbia.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753652Ab0CSBB0 (ORCPT ); Thu, 18 Mar 2010 21:01:26 -0400 In-Reply-To: <1268960401-16680-1-git-send-email-orenl@cs.columbia.edu> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Changelog[v17] - Forward-declare 'ckpt_ctx et-al, don't use checkpoint_types.h Signed-off-by: Oren Laadan Acked-by: Serge E. Hallyn Tested-by: Serge E. Hallyn --- include/linux/mm.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/include/linux/mm.h b/include/linux/mm.h index 60c467b..48d67ee 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -19,6 +19,7 @@ struct file_ra_state; struct user_struct; struct writeback_control; struct rlimit; +struct ckpt_ctx; #ifndef CONFIG_DISCONTIGMEM /* Don't use mapnrs, do it properly */ extern unsigned long max_mapnr; @@ -220,6 +221,9 @@ struct vm_operations_struct { int (*migrate)(struct vm_area_struct *vma, const nodemask_t *from, const nodemask_t *to, unsigned long flags); #endif +#ifdef CONFIG_CHECKPOINT + int (*checkpoint)(struct ckpt_ctx *ctx, struct vm_area_struct *vma); +#endif }; struct mmu_gather; -- 1.6.3.3