OvmfPkg/VirtioFsDxe: implement the wrapper function for FUSE_CREATE
Add the VirtioFsFuseOpenOrCreate() function, for sending the FUSE_CREATE command to the Virtio Filesystem device. Cc: Ard Biesheuvel <ard.biesheuvel@arm.com> Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Philippe Mathieu-Daudé <philmd@redhat.com> Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3097 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Message-Id: <20201216211125.19496-21-lersek@redhat.com> Acked-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
This commit is contained in:
committed by
mergify[bot]
parent
f058cb69d1
commit
a70860f449
@@ -286,6 +286,15 @@ VirtioFsFuseOpenDir (
|
||||
OUT UINT64 *FuseHandle
|
||||
);
|
||||
|
||||
EFI_STATUS
|
||||
VirtioFsFuseOpenOrCreate (
|
||||
IN OUT VIRTIO_FS *VirtioFs,
|
||||
IN UINT64 ParentNodeId,
|
||||
IN CHAR8 *Name,
|
||||
OUT UINT64 *NodeId,
|
||||
OUT UINT64 *FuseHandle
|
||||
);
|
||||
|
||||
//
|
||||
// EFI_SIMPLE_FILE_SYSTEM_PROTOCOL member functions for the Virtio Filesystem
|
||||
// driver.
|
||||
|
Reference in New Issue
Block a user