[PATCH 03/36] Add the checkpoint operation for bfs files and directories.

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


Signed-off-by: Matt Helsley <matthltc at us.ibm.com>
Cc: linux-fsdevel at vger.kernel.org
---
 fs/bfs/dir.c  |    1 +
 fs/bfs/file.c |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/fs/bfs/dir.c b/fs/bfs/dir.c
index 54bd07d..6143810 100644
--- a/fs/bfs/dir.c
+++ b/fs/bfs/dir.c
@@ -81,6 +81,7 @@ const struct file_operations bfs_dir_operations = {
 	.readdir	= bfs_readdir,
 	.fsync		= simple_fsync,
 	.llseek		= generic_file_llseek,
+	.checkpoint	= generic_file_checkpoint,
 };
 
 extern void dump_imap(const char *, struct super_block *);
diff --git a/fs/bfs/file.c b/fs/bfs/file.c
index 6a02126..c74d5b9 100644
--- a/fs/bfs/file.c
+++ b/fs/bfs/file.c
@@ -30,6 +30,7 @@ const struct file_operations bfs_file_operations = {
 	.aio_write	= generic_file_aio_write,
 	.mmap		= generic_file_mmap,
 	.splice_read	= generic_file_splice_read,
+	.checkpoint	= generic_file_checkpoint,
 };
 
 static int bfs_move_block(unsigned long from, unsigned long to,
-- 
1.5.6.3




More information about the Containers mailing list