TianoCore EDK2 master
|
#include "VirtioFsDxe.h"
Go to the source code of this file.
Functions | |
EFI_STATUS | VirtioFsFuseForget (IN OUT VIRTIO_FS *VirtioFs, IN UINT64 NodeId) |
FUSE_FORGET wrapper for the Virtio Filesystem device.
Copyright (C) 2020, Red Hat, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file FuseForget.c.
EFI_STATUS VirtioFsFuseForget | ( | IN OUT VIRTIO_FS * | VirtioFs, |
IN UINT64 | NodeId | ||
) |
Make the Virtio Filesysem device drop one reference count from a NodeId that the driver looked up by filename.
Send the FUSE_FORGET request to the Virtio Filesysem device for this. Unlike most other FUSE requests, FUSE_FORGET doesn't elicit a response, not even the common VIRTIO_FS_FUSE_RESPONSE header.
The function may only be called after VirtioFsFuseInitSession() returns successfully and before VirtioFsUninit() is called.
[in,out] | VirtioFs | The Virtio Filesystem device to send the FUSE_FORGET request to. On output, the FUSE request counter "VirtioFs->RequestId" will have been incremented. |
[in] | NodeId | The inode number that the client learned by way of lookup, and that the server should now un-reference exactly once. |
EFI_SUCCESS | The FUSE_FORGET request has been submitted. |
Definition at line 36 of file FuseForget.c.