[][src]Function libfuse_sys::fuse_lowlevel::fuse_lowlevel_notify_delete

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: usize
) -> c_int

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