[Devel] [RFC][PATCH 14/36] jffs2: Add checkpoint file operations
Matt Helsley
matthltc at us.ibm.com
Mon May 4 13:27:50 PDT 2009
Add the checkpoint operation for jffs2 files and directories.
Signed-off-by: Matt Helsley <matthltc at us.ibm.com>
Cc: linux-fsdevel at vger.kernel.org
---
fs/jffs2/dir.c | 1 +
fs/jffs2/file.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/fs/jffs2/dir.c b/fs/jffs2/dir.c
index 6f60cc9..c2b6487 100644
--- a/fs/jffs2/dir.c
+++ b/fs/jffs2/dir.c
@@ -41,6 +41,7 @@ const struct file_operations jffs2_dir_operations =
.unlocked_ioctl=jffs2_ioctl,
.fsync = jffs2_fsync,
.llseek = generic_file_llseek,
+ .checkpoint = generic_file_checkpoint,
};
diff --git a/fs/jffs2/file.c b/fs/jffs2/file.c
index 5edc2bf..6bc2bc6 100644
--- a/fs/jffs2/file.c
+++ b/fs/jffs2/file.c
@@ -50,6 +50,7 @@ const struct file_operations jffs2_file_operations =
.mmap = generic_file_readonly_mmap,
.fsync = jffs2_fsync,
.splice_read = generic_file_splice_read,
+ .checkpoint = generic_file_checkpoint,
};
/* jffs2_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