diff options
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index c0e53372b082..038076b27ea4 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -1681,7 +1681,6 @@ struct inode_operations { | |||
1681 | ssize_t (*getxattr) (struct dentry *, const char *, void *, size_t); | 1681 | ssize_t (*getxattr) (struct dentry *, const char *, void *, size_t); |
1682 | ssize_t (*listxattr) (struct dentry *, char *, size_t); | 1682 | ssize_t (*listxattr) (struct dentry *, char *, size_t); |
1683 | int (*removexattr) (struct dentry *, const char *); | 1683 | int (*removexattr) (struct dentry *, const char *); |
1684 | void (*truncate_range)(struct inode *, loff_t, loff_t); | ||
1685 | int (*fiemap)(struct inode *, struct fiemap_extent_info *, u64 start, | 1684 | int (*fiemap)(struct inode *, struct fiemap_extent_info *, u64 start, |
1686 | u64 len); | 1685 | u64 len); |
1687 | } ____cacheline_aligned; | 1686 | } ____cacheline_aligned; |
@@ -1764,8 +1763,8 @@ struct super_operations { | |||
1764 | * I_FREEING Set when inode is about to be freed but still has dirty | 1763 | * I_FREEING Set when inode is about to be freed but still has dirty |
1765 | * pages or buffers attached or the inode itself is still | 1764 | * pages or buffers attached or the inode itself is still |
1766 | * dirty. | 1765 | * dirty. |
1767 | * I_CLEAR Added by end_writeback(). In this state the inode is clean | 1766 | * I_CLEAR Added by clear_inode(). In this state the inode is |
1768 | * and can be destroyed. Inode keeps I_FREEING. | 1767 | * clean and can be destroyed. Inode keeps I_FREEING. |
1769 | * | 1768 | * |
1770 | * Inodes that are I_WILL_FREE, I_FREEING or I_CLEAR are | 1769 | * Inodes that are I_WILL_FREE, I_FREEING or I_CLEAR are |
1771 | * prohibited for many purposes. iget() must wait for | 1770 | * prohibited for many purposes. iget() must wait for |
@@ -1773,9 +1772,10 @@ struct super_operations { | |||
1773 | * anew. Other functions will just ignore such inodes, | 1772 | * anew. Other functions will just ignore such inodes, |
1774 | * if appropriate. I_NEW is used for waiting. | 1773 | * if appropriate. I_NEW is used for waiting. |
1775 | * | 1774 | * |
1776 | * I_SYNC Synchonized write of dirty inode data. The bits is | 1775 | * I_SYNC Writeback of inode is running. The bit is set during |
1777 | * set during data writeback, and cleared with a wakeup | 1776 | * data writeback, and cleared with a wakeup on the bit |
1778 | * on the bit address once it is done. | 1777 | * address once it is done. The bit is also used to pin |
1778 | * the inode in memory for flusher thread. | ||
1779 | * | 1779 | * |
1780 | * I_REFERENCED Marks the inode as recently references on the LRU list. | 1780 | * I_REFERENCED Marks the inode as recently references on the LRU list. |
1781 | * | 1781 | * |
@@ -2349,7 +2349,7 @@ extern unsigned int get_next_ino(void); | |||
2349 | 2349 | ||
2350 | extern void __iget(struct inode * inode); | 2350 | extern void __iget(struct inode * inode); |
2351 | extern void iget_failed(struct inode *); | 2351 | extern void iget_failed(struct inode *); |
2352 | extern void end_writeback(struct inode *); | 2352 | extern void clear_inode(struct inode *); |
2353 | extern void __destroy_inode(struct inode *); | 2353 | extern void __destroy_inode(struct inode *); |
2354 | extern struct inode *new_inode_pseudo(struct super_block *sb); | 2354 | extern struct inode *new_inode_pseudo(struct super_block *sb); |
2355 | extern struct inode *new_inode(struct super_block *sb); | 2355 | extern struct inode *new_inode(struct super_block *sb); |