Skip to content

Conversation

@kolyshkin
Copy link
Contributor

The setRecAttr is only called for "bind" case, as cases end with a return statement. Indeed, recursive mount attributes only make sense for bind mounts.

Move the code to under case "bind" to improve readability. No change in logic.

Fixes: 382eba4
Reported-by: Sebastiaan van Stijn [email protected]

The setRecAttr is only called for "bind" case, as cases end with a
return statement. Indeed, recursive mount attributes only make sense for
bind mounts.

Move the code to under case "bind" to improve readability. No change in
logic.

Fixes: 382eba4
Reported-by: Sebastiaan van Stijn <[email protected]>
Signed-off-by: Kir Kolyshkin <[email protected]>
@kolyshkin
Copy link
Contributor Author

@thaJeztah PTAL

@AkihiroSuda AkihiroSuda merged commit 2b221a6 into opencontainers:main Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants