From: Sukadev Bhattiprolu <sukadev@xxxxxxxxxxxxxxxxxx> Date: Tue, 19 May 2009 19:18:25 -0700 Subject: [C/R][PATCH] Export generic_file_checkpoint and generic_file_restore Needed when filesystems are compiled as modules. Signed-off-by: Sukadev Bhattiprolu <sukadev@xxxxxxxxxx> --- checkpoint/files.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/checkpoint/files.c b/checkpoint/files.c index 7da2cbf..cfea034 100644 --- a/checkpoint/files.c +++ b/checkpoint/files.c @@ -11,6 +11,7 @@ /* default debug level for output */ #define CKPT_DFLAG CKPT_DFILE +#include <linux/module.h> #include <linux/kernel.h> #include <linux/sched.h> #include <linux/file.h> @@ -182,6 +183,7 @@ int generic_file_checkpoint(struct ckpt_ctx *ctx, struct file *file) ckpt_hdr_put(ctx, h); return ret; } +EXPORT_SYMBOL(generic_file_checkpoint); /* checkpoint_file - dump the state of a given file pointer */ int checkpoint_file(struct ckpt_ctx *ctx, void *ptr) @@ -401,6 +403,7 @@ struct file *generic_file_restore(struct ckpt_ctx *ctx, } return file; } +EXPORT_SYMBOL(generic_file_restore); struct restore_file_ops { char *file_name; -- 1.5.2.5 _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers