---
name: "evict_inodes"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/evict_inodes"
---

# evict\_inodes(9)

evict all evictable inodes for a superblock

## NAME

evict\_inodes - evict all evictable inodes for a superblock

## SYNOPSIS

**void evict\_inodes(struct super\_block \*** *sb***);**

## ARGUMENTS

*sb*

superblock to operate on

## DESCRIPTION

Make sure that no inodes with zero refcount are retained. This is called by superblock shutdown after having MS\_ACTIVE flag removed, so any inode reaching zero refcount during or after that call will be immediately evicted.

## COPYRIGHT
