diff options
| author | Linus Torvalds <torvalds@home.transmeta.com> | 2002-06-02 20:17:35 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-06-02 20:17:35 -0700 |
| commit | 6b7eb57fd8a3ba1b4505ad50c984dea821d28388 (patch) | |
| tree | 4b060ff622425b055840627620b972df7a15e9a5 /include/linux | |
| parent | a990709108dd9f27b7fd2b4a57bd56c4893e691c (diff) | |
Split up "iput()" and make it more readable.
Add "drop_inode" VFS interface to make FS operations cleaner
and race-free. Remove old force_delete interface, and update
filesystems that used it to use the new infrastructure.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/fs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 839dfbd712e2..b85ad43e6549 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -800,6 +800,7 @@ struct super_operations { void (*dirty_inode) (struct inode *); void (*write_inode) (struct inode *, int); void (*put_inode) (struct inode *); + void (*drop_inode) (struct inode *); void (*delete_inode) (struct inode *); void (*put_super) (struct super_block *); void (*write_super) (struct super_block *); @@ -1183,10 +1184,10 @@ extern loff_t default_llseek(struct file *file, loff_t offset, int origin); extern void inode_init_once(struct inode *); extern void iput(struct inode *); -extern void force_delete(struct inode *); extern struct inode * igrab(struct inode *); extern ino_t iunique(struct super_block *, ino_t); extern int inode_needs_sync(struct inode *inode); +extern void generic_delete_inode(struct inode *inode); extern struct inode * iget5_locked(struct super_block *, unsigned long, int (*test)(struct inode *, void *), int (*set)(struct inode *, void *), void *); extern struct inode * iget_locked(struct super_block *, unsigned long); |
