Signed-off-by: Matt Helsley <matth...@us.ibm.com>
Cc: KONISHI Ryusuke <konishi.ryus...@lab.ntt.co.jp>
Cc: us...@nilfs.org
Cc: linux-fsde...@vger.kernel.org
---
 fs/nilfs2/dir.c  |    2 +-
 fs/nilfs2/file.c |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/fs/nilfs2/dir.c b/fs/nilfs2/dir.c
index 54100ac..38fd744 100644
--- a/fs/nilfs2/dir.c
+++ b/fs/nilfs2/dir.c
@@ -707,5 +707,5 @@ struct file_operations nilfs_dir_operations = {
        .compat_ioctl   = nilfs_ioctl,
 #endif /* CONFIG_COMPAT */
        .fsync          = nilfs_sync_file,
-
+       .checkpoint     = generic_file_checkpoint,
 };
diff --git a/fs/nilfs2/file.c b/fs/nilfs2/file.c
index 6bd84a0..0f27ab5 100644
--- a/fs/nilfs2/file.c
+++ b/fs/nilfs2/file.c
@@ -136,6 +136,7 @@ static int nilfs_file_mmap(struct file *file, struct 
vm_area_struct *vma)
  */
 struct file_operations nilfs_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
contain...@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers

_______________________________________________
Devel mailing list
Devel@openvz.org
https://openvz.org/mailman/listinfo/devel

Reply via email to