[Devel] [RFC][PATCH 23/36] sysv: Add checkpoint file operations
Matt Helsley
matthltc at us.ibm.com
Mon May 4 13:27:50 PDT 2009
Add the checkpoint operation for sysv filesystem files and
directories.
Signed-off-by: Matt Helsley <matthltc at us.ibm.com>
Cc: Christoph Hellwig <hch at infradead.org>
Cc: linux-fsdevel at vger.kernel.org
---
fs/sysv/dir.c | 1 +
fs/sysv/file.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/fs/sysv/dir.c b/fs/sysv/dir.c
index 56f6552..ff0adf1 100644
--- a/fs/sysv/dir.c
+++ b/fs/sysv/dir.c
@@ -25,6 +25,7 @@ const struct file_operations sysv_dir_operations = {
.read = generic_read_dir,
.readdir = sysv_readdir,
.fsync = sysv_sync_file,
+ .checkpoint = generic_file_checkpoint,
};
static inline void dir_put_page(struct page *page)
diff --git a/fs/sysv/file.c b/fs/sysv/file.c
index 589be21..139593d 100644
--- a/fs/sysv/file.c
+++ b/fs/sysv/file.c
@@ -28,6 +28,7 @@ const struct file_operations sysv_file_operations = {
.mmap = generic_file_mmap,
.fsync = sysv_sync_file,
.splice_read = generic_file_splice_read,
+ .checkpoint = generic_file_checkpoint,
};
const struct inode_operations sysv_file_inode_operations = {
--
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