Add the checkpoint operation for ecryptfs files and directories. Signed-off-by: Matt Helsley <matthltc@xxxxxxxxxx> Cc: linux-fsdevel@xxxxxxxxxxxxxxx --- fs/ecryptfs/file.c | 2 ++ fs/ecryptfs/miscdev.c | 1 + 2 files changed, 3 insertions(+), 0 deletions(-) diff --git a/fs/ecryptfs/file.c b/fs/ecryptfs/file.c index 9e94405..e6d2523 100644 --- a/fs/ecryptfs/file.c +++ b/fs/ecryptfs/file.c @@ -306,6 +306,7 @@ const struct file_operations ecryptfs_dir_fops = { .fsync = ecryptfs_fsync, .fasync = ecryptfs_fasync, .splice_read = generic_file_splice_read, + .checkpoint = generic_file_checkpoint, }; const struct file_operations ecryptfs_main_fops = { @@ -323,6 +324,7 @@ const struct file_operations ecryptfs_main_fops = { .fsync = ecryptfs_fsync, .fasync = ecryptfs_fasync, .splice_read = generic_file_splice_read, + .checkpoint = generic_file_checkpoint, }; static int diff --git a/fs/ecryptfs/miscdev.c b/fs/ecryptfs/miscdev.c index dda3c58..07fbbe8 100644 --- a/fs/ecryptfs/miscdev.c +++ b/fs/ecryptfs/miscdev.c @@ -487,6 +487,7 @@ static const struct file_operations ecryptfs_miscdev_fops = { .read = ecryptfs_miscdev_read, .write = ecryptfs_miscdev_write, .release = ecryptfs_miscdev_release, + .checkpoint = generic_file_checkpoint, }; static struct miscdevice ecryptfs_miscdev = { -- 1.5.6.3 _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers