Basic Solution File System - BSFS
Loading...
Searching...
No Matches
rm_task_t Struct Reference

Prepared removal record used by the bulk rm implementation. More...

Public Attributes

char * path
inode_t inode_snapshot
uint32_t parent_ino
int has_snapshot

Detailed Description

Prepared removal record used by the bulk rm implementation.

Each task captures the absolute path and the inode snapshot for a file that will be deleted, along with metadata needed to create a Recovery entry if the removal succeeds.

Member Data Documentation

◆ has_snapshot

int rm_task_t::has_snapshot

Flag indicating whether inode_snapshot is populated.

◆ inode_snapshot

inode_t rm_task_t::inode_snapshot

Inode contents captured before unlinking.

◆ parent_ino

uint32_t rm_task_t::parent_ino

Inode number of the parent directory.

◆ path

char* rm_task_t::path

Absolute path of the file scheduled for removal.


The documentation for this struct was generated from the following file:
  • src/browser/commands/rm.c