[Devel] [RFC][PATCH 03/36] bfs: Add checkpoint file operations
Matt Helsley
matthltc at us.ibm.com
Mon May 4 13:27:50 PDT 2009
Add the checkpoint operation for bfs files and directories.
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 4dd1b62..dd34403 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 = file_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
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list