]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: set fscrypt flag on create if xattr buffer has an encryption context 40828/head
authorJeff Layton <jlayton@redhat.com>
Mon, 12 Apr 2021 19:28:20 +0000 (15:28 -0400)
committerJeff Layton <jlayton@redhat.com>
Tue, 13 Apr 2021 13:53:11 +0000 (09:53 -0400)
commit3b1bf45d62557c74b756b10941ce086076fd2d7e
tree352d033deda0c0f3bc77b4a5185e9fe9f102c275
parentca822b9a8dd770cf7a843858fdae7b1b06aa8d32
mds: set fscrypt flag on create if xattr buffer has an encryption context

If the client sends an inode with a crypto context already in the xattr
buffer, ensure that we set the fscrypt flag in the inode.

Fixes: https://tracker.ceph.com/issues/50305
Signed-off-by: Jeff Layton <jlayton@redhat.com>
src/mds/Server.cc