root/fs/minix/minix_op.c

/* [previous][next][first][last][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. minix_put_inode

   1 /*
   2  * linux/fs/minix/minix_op.c
   3  *
   4  * structures for the minix super_block/inode/file-operations
   5  */
   6 
   7 #include <linux/fs.h>
   8 #include <linux/minix_fs.h>
   9 
  10 void minix_put_inode(struct inode *inode)
     /* [previous][next][first][last][top][bottom][index][help] */
  11 {
  12         minix_truncate(inode);
  13         minix_free_inode(inode);
  14 }
  15 
  16 /*
  17  * These are the low-level inode operations for minix filesystem inodes.
  18  */
  19 struct inode_operations minix_inode_operations = {
  20         minix_create,
  21         minix_lookup,
  22         minix_link,
  23         minix_unlink,
  24         minix_symlink,
  25         minix_mkdir,
  26         minix_rmdir,
  27         minix_mknod,
  28         minix_rename,
  29         minix_readlink,
  30         minix_open,
  31         minix_release,
  32         minix_follow_link,
  33         minix_bmap,
  34         minix_truncate,
  35         minix_write_inode,
  36         minix_put_inode
  37 };
  38 
  39 /*
  40  * We have mostly NULL's here: the current defaults are ok for
  41  * the minix filesystem.
  42  */
  43 struct file_operations minix_file_operations = {
  44         NULL,   /* lseek */
  45         NULL,   /* read */
  46         NULL,   /* write */
  47         minix_readdir
  48 };
  49         

/* [previous][next][first][last][top][bottom][index][help] */