virtiofsd: Add attr_flags to fuse_entry_param
commit93e79851abb78fe36882232b84edc795d1d942fd
authorMax Reitz <mreitz@redhat.com>
Mon, 2 Nov 2020 16:18:54 +0000 (2 17:18 +0100)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Mon, 2 Nov 2020 19:22:48 +0000 (2 19:22 +0000)
tree2b7ed8a1a944b36757e66580f68e6af439b33c5a
parent9c6ac0436356132da97c4bbb7f6c90b062438176
virtiofsd: Add attr_flags to fuse_entry_param

fuse_entry_param is converted to fuse_attr on the line (by
fill_entry()), so it should have a member that mirrors fuse_attr.flags.

fill_entry() should then copy this fuse_entry_param.attr_flags to
fuse_attr.flags.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20201102161859.156603-3-mreitz@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
tools/virtiofsd/fuse_lowlevel.c
tools/virtiofsd/fuse_lowlevel.h