OvmfPkg/VirtioFsDxe: add a shared wrapper for FUSE_UNLINK / FUSE_RMDIR
The FUSE_UNLINK and FUSE_RMDIR commands only differ in the opcode. Add a common function for wrapping both. 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-25-lersek@redhat.com> Acked-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
This commit is contained in:
committed by
mergify[bot]
parent
ca61b84586
commit
0771671c4b
@@ -267,6 +267,14 @@ VirtioFsFuseMkDir (
|
||||
OUT UINT64 *NodeId
|
||||
);
|
||||
|
||||
EFI_STATUS
|
||||
VirtioFsFuseRemoveFileOrDir (
|
||||
IN OUT VIRTIO_FS *VirtioFs,
|
||||
IN UINT64 ParentNodeId,
|
||||
IN CHAR8 *Name,
|
||||
IN BOOLEAN IsDir
|
||||
);
|
||||
|
||||
EFI_STATUS
|
||||
VirtioFsFuseOpen (
|
||||
IN OUT VIRTIO_FS *VirtioFs,
|
||||
|
Reference in New Issue
Block a user