Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
bad_inode.c File Reference
#include <linux/fs.h>
#include <linux/export.h>
#include <linux/stat.h>
#include <linux/time.h>
#include <linux/namei.h>
#include <linux/poll.h>

Go to the source code of this file.

Functions

void make_bad_inode (struct inode *inode)
 
 EXPORT_SYMBOL (make_bad_inode)
 
int is_bad_inode (struct inode *inode)
 
 EXPORT_SYMBOL (is_bad_inode)
 
void iget_failed (struct inode *inode)
 
 EXPORT_SYMBOL (iget_failed)
 

Function Documentation

EXPORT_SYMBOL ( make_bad_inode  )
EXPORT_SYMBOL ( is_bad_inode  )
EXPORT_SYMBOL ( iget_failed  )
void iget_failed ( struct inode inode)

iget_failed - Mark an under-construction inode as dead and release it : The inode to discard

Mark an under-construction inode as dead and release it.

Definition at line 354 of file bad_inode.c.

int is_bad_inode ( struct inode inode)

is_bad_inode - is an inode errored : inode to test

Returns true if the inode in question has been marked as bad.

Definition at line 341 of file bad_inode.c.

void make_bad_inode ( struct inode inode)

make_bad_inode - mark an inode bad due to an I/O error : Inode to mark bad

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.

Definition at line 316 of file bad_inode.c.