[CRIU] [PATCH criu-dev v2] images: nfs -- Reserve data for NFS support
Pavel Emelyanov
xemul at virtuozzo.com
Wed Jun 15 06:40:51 PDT 2016
> diff --git a/images/mnt.proto b/images/mnt.proto
> index 9338ecbc93a5..7b64cc59e1ff 100644
> --- a/images/mnt.proto
> +++ b/images/mnt.proto
> @@ -21,6 +21,11 @@ enum fstype {
> OVERLAYFS = 17;
> AUTOFS = 18;
> TRACEFS = 19;
> +
> + /* These three are reserved for NFS support */
> + RPC_PIPEFS = 20;
> + NFS = 21;
> + NFS4 = 22;
I meant commented out. As AUTOFS is in master branch.
> };
>
> message mnt_entry {
> diff --git a/images/regfile.proto b/images/regfile.proto
> index e25d58902fd1..25b1e41933a6 100644
> --- a/images/regfile.proto
> +++ b/images/regfile.proto
> @@ -10,4 +10,5 @@ message reg_file_entry {
> optional sint32 mnt_id = 7 [default = -1];
> optional uint64 size = 8;
> optional bool ext = 9;
> + optional uint32 mode = 10;
> }
>
If we're adding mode, it makes sense to extend the sanity checks we
have for size.
Please, make it separate patch.
-- Pavel
More information about the CRIU
mailing list