diff options
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2016-05-23 19:23:17 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-05-23 20:04:14 -0400 |
commit | 24e20ead2fb2e1b67a76a04550d29c9027f707eb (patch) | |
tree | 9671eb107550a3bf8498040149600bea06bfc9bf /fs/nilfs2/mdt.h | |
parent | 756cbdb353c597dd265f070527b5ee9901f35261 (diff) |
nilfs2: get rid of nilfs_mdt_mark_block_dirty()
nilfs_mdt_mark_block_dirty() can be replaced with primary functions
like nilfs_mdt_get_block() and mark_buffer_dirty(), and it's used only
by nilfs_ioctl_mark_blocks_dirty().
This gets rid of the function to simplify the interface of metadata
file.
Link: http://lkml.kernel.org/r/1461935747-10380-8-git-send-email-konishi.ryusuke@lab.ntt.co.jp
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/nilfs2/mdt.h')
-rw-r--r-- | fs/nilfs2/mdt.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nilfs2/mdt.h b/fs/nilfs2/mdt.h index 54e3b7fd783c..dc88907508cd 100644 --- a/fs/nilfs2/mdt.h +++ b/fs/nilfs2/mdt.h | |||
@@ -79,7 +79,6 @@ int nilfs_mdt_find_block(struct inode *inode, unsigned long start, | |||
79 | struct buffer_head **out_bh); | 79 | struct buffer_head **out_bh); |
80 | int nilfs_mdt_delete_block(struct inode *, unsigned long); | 80 | int nilfs_mdt_delete_block(struct inode *, unsigned long); |
81 | int nilfs_mdt_forget_block(struct inode *, unsigned long); | 81 | int nilfs_mdt_forget_block(struct inode *, unsigned long); |
82 | int nilfs_mdt_mark_block_dirty(struct inode *, unsigned long); | ||
83 | int nilfs_mdt_fetch_dirty(struct inode *); | 82 | int nilfs_mdt_fetch_dirty(struct inode *); |
84 | 83 | ||
85 | int nilfs_mdt_init(struct inode *inode, gfp_t gfp_mask, size_t objsz); | 84 | int nilfs_mdt_init(struct inode *inode, gfp_t gfp_mask, size_t objsz); |