Skip to content

overlay: Ignore EOPNOTSUPP error from setxattr during copy-up#13289

Open
copybara-service[bot] wants to merge 1 commit into
masterfrom
test/cl921581045
Open

overlay: Ignore EOPNOTSUPP error from setxattr during copy-up#13289
copybara-service[bot] wants to merge 1 commit into
masterfrom
test/cl921581045

Conversation

@copybara-service
Copy link
Copy Markdown

overlay: Ignore EOPNOTSUPP error from setxattr during copy-up

This is consistent with what Linux does in
fs/overlayfs/copy_up.c:ovl_copy_xattr(). When copying up extended attributes,
ignore EOPNOTSUPP errors from SetXattrAt for xattrs that are not considered
"must-copy" attributes.

Supersedes #13262

Co-authored-by: Drew MacNeil drew@retool.com

This is consistent with what Linux does in
fs/overlayfs/copy_up.c:ovl_copy_xattr(). When copying up extended attributes,
ignore EOPNOTSUPP errors from SetXattrAt for xattrs that are not considered
"must-copy" attributes.

Supersedes #13262

Co-authored-by: Drew MacNeil <drew@retool.com>
PiperOrigin-RevId: 921581045
@copybara-service copybara-service Bot added the exported Issue was exported automatically label May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

exported Issue was exported automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant