table of contents
INVALIDATE_INODES(9) | The Linux VFS | INVALIDATE_INODES(9) |
NAME¶
invalidate_inodes - discard the inodes on a device
SYNOPSIS¶
int invalidate_inodes(struct super_block * sb, bool kill_dirty);
ARGUMENTS¶
sb
superblock
kill_dirty
flag to guide handling of dirty inodes
DESCRIPTION¶
Discard all of the inodes for a given superblock. If the discard fails because there are busy inodes then a non zero value is returned. If the discard is successful all the inodes have been discarded. If kill_dirty is set, discard dirty inodes too, otherwise treat them as busy.
COPYRIGHT¶
May 2024 | Kernel Hackers Manual 2.6. |