INVALIDATE_INODES(9) The Linux VFS INVALIDATE_INODES(9)NAMEinvalidate_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.
COPYRIGHTKernel Hackers Manual 2.6. November 2013 INVALIDATE_INODES(9)