---
name: "invalidate_inodes"
section: "9"
platform: "linux"
package: "linux-manual-2.6.32"
version: "2.6.32-48squeeze6"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/invalidate_inodes"
---

# invalidate\_inodes(9)

discard the inodes on a device

## NAME

invalidate\_inodes - discard the inodes on a device

## SYNOPSIS

**int invalidate\_inodes(struct super\_block \*** *sb***);**

## ARGUMENTS

*sb*

superblock

## 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.

## COPYRIGHT
