fuse_lowlevel_notify_delete

Function fuse_lowlevel_notify_delete 

Source
pub unsafe extern "C" fn fuse_lowlevel_notify_delete(
    ch: *mut fuse_chan,
    parent: fuse_ino_t,
    child: fuse_ino_t,
    name: *const c_char,
    namelen: size_t,
) -> c_int
Expand description

Notify to invalidate parent attributes and delete the dentry matching parent/name if the dentry’s inode number matches child (otherwise it will invalidate the matching dentry).

To avoid a deadlock don’t call this function from a filesystem operation and don’t call it with a lock held that can also be held by a filesystem operation.

@param ch the channel through which to send the notification @param parent inode number @param child inode number @param name file name @param namelen strlen() of file name @return zero for success, -errno for failure