---
name: "make_bad_inode"
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/make_bad_inode"
---

# make\_bad\_inode(9)

mark an inode bad due to an I/O error

## NAME

make\_bad\_inode - mark an inode bad due to an I/O error

## SYNOPSIS

**void make\_bad\_inode(struct inode \*** *inode***);**

## ARGUMENTS

*inode*

Inode to mark bad

## DESCRIPTION

When an inode cannot be read due to a media or remote network failure this function makes the inode “bad” and causes I/O operations on it to fail from this point on.

## COPYRIGHT
