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.