Skip to content
Commit 8f6ee74c authored by Miklos Szeredi's avatar Miklos Szeredi
Browse files

ovl: rearrange ovl_can_list()



ovl_can_list() should return false for overlay private xattrs.  Since
currently these use the "trusted.overlay." prefix, they will always match
the "trusted." prefix as well, hence the test for being non-trusted will
not trigger.

Prepare for using the "user.overlay." namespace by moving the test for
private xattr before the test for non-trusted.

This patch doesn't change behavior.

Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
parent 43d193f8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment