[Devel] [RFC][PATCH 34/36] exofs: Add checkpoint file operations
Matt Helsley
matthltc at us.ibm.com
Mon May 4 13:27:50 PDT 2009
Add the checkpoint operation to exofs files and directories.
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