Add the checkpoint operation for jfs files and directories.
Signed-off-by: Matt Helsley <[email protected]> Cc: Dave Kleikamp <[email protected]> Cc: [email protected] Cc: [email protected] --- fs/jfs/file.c | 1 + fs/jfs/namei.c | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/fs/jfs/file.c b/fs/jfs/file.c index 7f6063a..90ab090 100644 --- a/fs/jfs/file.c +++ b/fs/jfs/file.c @@ -116,4 +116,5 @@ const struct file_operations jfs_file_operations = { #ifdef CONFIG_COMPAT .compat_ioctl = jfs_compat_ioctl, #endif + .checkpoint = generic_file_checkpoint, }; diff --git a/fs/jfs/namei.c b/fs/jfs/namei.c index 514ee2e..5486db9 100644 --- a/fs/jfs/namei.c +++ b/fs/jfs/namei.c @@ -1556,6 +1556,7 @@ const struct file_operations jfs_dir_operations = { .compat_ioctl = jfs_compat_ioctl, #endif .llseek = generic_file_llseek, + .checkpoint = generic_file_checkpoint, }; static int jfs_ci_hash(struct dentry *dir, struct qstr *this) -- 1.5.6.3 _______________________________________________ Containers mailing list [email protected] https://lists.linux-foundation.org/mailman/listinfo/containers _______________________________________________ Devel mailing list [email protected] https://openvz.org/mailman/listinfo/devel
