virtiofsd: Add fuse_reply_attr_with_flags()
commitede24b6be798000bbf554891e5b54a0f4848897f
authorMax Reitz <mreitz@redhat.com>
Wed, 9 Sep 2020 18:40:24 +0000 (9 20:40 +0200)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Mon, 26 Oct 2020 18:35:32 +0000 (26 18:35 +0000)
tree942aacb631d7669534998a9c9936933f40fd4ae1
parente2577435d3433b66b6f8adcd6482b5da5198689b
virtiofsd: Add fuse_reply_attr_with_flags()

The plain fuse_reply_attr() function does not allow setting
fuse_attr.flags, so add this new function that does.

Make fuse_reply_attr() a wrapper around it.

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