summaryrefslogtreecommitdiff
path: root/fs/overlayfs/file.c
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@redhat.com>2020-09-02 10:58:49 +0200
committerMiklos Szeredi <mszeredi@redhat.com>2020-09-02 10:58:49 +0200
commit8f6ee74c27860d4a4c6e0f8cf772bb2afc184bcb (patch)
treeb6316d2094960d67387e0856bfa340e66c87f618 /fs/overlayfs/file.c
parent43d193f8440d67f0dddd93ae973eb94174039e83 (diff)
downloadlwn-8f6ee74c27860d4a4c6e0f8cf772bb2afc184bcb.tar.gz
lwn-8f6ee74c27860d4a4c6e0f8cf772bb2afc184bcb.zip
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: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/overlayfs/file.c')
0 files changed, 0 insertions, 0 deletions