[Devel] [PATCH 34/36] Add the checkpoint operation to exofs files and directories.

Matt Helsley matthltc at us.ibm.com
Mon Jul 13 06:58:48 PDT 2009


Signed-off-by: Matt Helsley <matthltc at us.ibm.com>
Cc: Boaz Harrosh <bharrosh at panasas.com>
Cc: Avishay Traeger <avishay at gmail.com>
Cc: linux-fsdevel <linux-fsdevel at vger.kernel.org>
---
 fs/exofs/dir.c  |    1 +
 fs/exofs/file.c |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/fs/exofs/dir.c b/fs/exofs/dir.c
index 65b0c8c..5184c15 100644
--- a/fs/exofs/dir.c
+++ b/fs/exofs/dir.c
@@ -669,4 +669,5 @@ const struct file_operations exofs_dir_operations = {
 	.llseek		= generic_file_llseek,
 	.read		= generic_read_dir,
 	.readdir	= exofs_readdir,
+	.checkpoint	= generic_file_checkpoint,
 };
diff --git a/fs/exofs/file.c b/fs/exofs/file.c
index 6ed7fe4..b94e792 100644
--- a/fs/exofs/file.c
+++ b/fs/exofs/file.c
@@ -68,6 +68,7 @@ static int exofs_flush(struct file *file, fl_owner_t id)
 
 const struct file_operations exofs_file_operations = {
 	.llseek		= generic_file_llseek,
+	.checkpoint	= generic_file_checkpoint,
 	.read		= do_sync_read,
 	.write		= do_sync_write,
 	.aio_read	= generic_file_aio_read,
-- 
1.5.6.3


_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list