summaryrefslogtreecommitdiff
path: root/fs/f2fs/f2fs.h
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2015-04-30 04:31:19 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2015-05-29 01:41:36 +0300
commit2dcf51ab2f6ddec795371dad9a8eeca4cda4eee0 (patch)
treeb5071bacab0717934c276557e4261c84759317b6 /fs/f2fs/f2fs.h
parent01f28610a1691078d0f7ba62b365567f8799f07c (diff)
downloadlinux-2dcf51ab2f6ddec795371dad9a8eeca4cda4eee0.tar.xz
f2fs: add need_dentry_mark
This patch introduces need_dentry_mark() to clean up and avoid redundant node locks. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/f2fs.h')
-rw-r--r--fs/f2fs/f2fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h
index b8f99fd4fcff..9e43ddcdba84 100644
--- a/fs/f2fs/f2fs.h
+++ b/fs/f2fs/f2fs.h
@@ -1565,6 +1565,7 @@ struct dnode_of_data;
struct node_info;
bool available_free_memory(struct f2fs_sb_info *, int);
+int need_dentry_mark(struct f2fs_sb_info *, nid_t);
bool is_checkpointed_node(struct f2fs_sb_info *, nid_t);
bool need_inode_block_update(struct f2fs_sb_info *, nid_t);
void get_node_info(struct f2fs_sb_info *, nid_t, struct node_info *);