diff options
Diffstat (limited to 'fs/f2fs/f2fs.h')
-rw-r--r-- | fs/f2fs/f2fs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 2c5a5dadae65..d3180f8c0f97 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h | |||
@@ -218,6 +218,7 @@ struct f2fs_inode_info { | |||
218 | nid_t i_xattr_nid; /* node id that contains xattrs */ | 218 | nid_t i_xattr_nid; /* node id that contains xattrs */ |
219 | unsigned long long xattr_ver; /* cp version of xattr modification */ | 219 | unsigned long long xattr_ver; /* cp version of xattr modification */ |
220 | struct extent_info ext; /* in-memory extent cache entry */ | 220 | struct extent_info ext; /* in-memory extent cache entry */ |
221 | struct dir_inode_entry *dirty_dir; /* the pointer of dirty dir */ | ||
221 | }; | 222 | }; |
222 | 223 | ||
223 | static inline void get_extent_info(struct extent_info *ext, | 224 | static inline void get_extent_info(struct extent_info *ext, |
@@ -958,6 +959,7 @@ static inline int f2fs_clear_bit(unsigned int nr, char *addr) | |||
958 | enum { | 959 | enum { |
959 | FI_NEW_INODE, /* indicate newly allocated inode */ | 960 | FI_NEW_INODE, /* indicate newly allocated inode */ |
960 | FI_DIRTY_INODE, /* indicate inode is dirty or not */ | 961 | FI_DIRTY_INODE, /* indicate inode is dirty or not */ |
962 | FI_DIRTY_DIR, /* indicate directory has dirty pages */ | ||
961 | FI_INC_LINK, /* need to increment i_nlink */ | 963 | FI_INC_LINK, /* need to increment i_nlink */ |
962 | FI_ACL_MODE, /* indicate acl mode */ | 964 | FI_ACL_MODE, /* indicate acl mode */ |
963 | FI_NO_ALLOC, /* should not allocate any blocks */ | 965 | FI_NO_ALLOC, /* should not allocate any blocks */ |
@@ -1222,7 +1224,6 @@ int get_valid_checkpoint(struct f2fs_sb_info *); | |||
1222 | void set_dirty_dir_page(struct inode *, struct page *); | 1224 | void set_dirty_dir_page(struct inode *, struct page *); |
1223 | void add_dirty_dir_inode(struct inode *); | 1225 | void add_dirty_dir_inode(struct inode *); |
1224 | void remove_dirty_dir_inode(struct inode *); | 1226 | void remove_dirty_dir_inode(struct inode *); |
1225 | struct inode *check_dirty_dir_inode(struct f2fs_sb_info *, nid_t); | ||
1226 | void sync_dirty_dir_inodes(struct f2fs_sb_info *); | 1227 | void sync_dirty_dir_inodes(struct f2fs_sb_info *); |
1227 | void write_checkpoint(struct f2fs_sb_info *, bool); | 1228 | void write_checkpoint(struct f2fs_sb_info *, bool); |
1228 | void init_orphan_info(struct f2fs_sb_info *); | 1229 | void init_orphan_info(struct f2fs_sb_info *); |