Skip to content

Broken overlayfs compilation #244

@faveoled

Description

@faveoled

Tried to compile Docker-enabled config. Got this error:

fs/overlayfs/super.c:985:3: error: implicit declaration of function 'rkp_reset_mnt_flags'
      [-Werror,-Wimplicit-function-declaration]
                rkp_reset_mnt_flags(ufs->upper_mnt, (MNT_NOATIME | MNT_NODIRATIME | MNT_RELATIME));
                ^
fs/overlayfs/super.c:985:3: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
fs/overlayfs/super.c:1062:9: error: implicit declaration of function 'rkp_set_mnt_flags' [-Werror,-Wimplicit-function-declaration]
        rkp_set_mnt_flags(mnt,MNT_READONLY|MNT_NOATIME);
        ^
fs/overlayfs/super.c:1062:9: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
4 errors generated.

Problem in code:

rkp_reset_mnt_flags(ufs->upper_mnt, (MNT_NOATIME | MNT_NODIRATIME | MNT_RELATIME));

cruel-HVJ5-v5.3
kernel config here:

HVJ5-Docker.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions