Skip to content

Commit 9ead986

Browse files
committed
nilfs2: remove nilfs_dat_abort_start and nilfs_dat_abort_free
These functions are not called from any functions. Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
1 parent 1cf58fa commit 9ead986

2 files changed

Lines changed: 0 additions & 12 deletions

File tree

‎fs/nilfs2/dat.c‎

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,6 @@ void nilfs_dat_commit_free(struct inode *dat, struct nilfs_palloc_req *req)
109109
nilfs_palloc_commit_free_entry(dat, req);
110110
}
111111

112-
void nilfs_dat_abort_free(struct inode *dat, struct nilfs_palloc_req *req)
113-
{
114-
nilfs_dat_abort_entry(dat, req);
115-
nilfs_palloc_abort_free_entry(dat, req);
116-
}
117-
118112
int nilfs_dat_prepare_start(struct inode *dat, struct nilfs_palloc_req *req)
119113
{
120114
int ret;
@@ -140,11 +134,6 @@ void nilfs_dat_commit_start(struct inode *dat, struct nilfs_palloc_req *req,
140134
nilfs_dat_commit_entry(dat, req);
141135
}
142136

143-
void nilfs_dat_abort_start(struct inode *dat, struct nilfs_palloc_req *req)
144-
{
145-
nilfs_dat_abort_entry(dat, req);
146-
}
147-
148137
int nilfs_dat_prepare_end(struct inode *dat, struct nilfs_palloc_req *req)
149138
{
150139
struct nilfs_dat_entry *entry;

‎fs/nilfs2/dat.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ void nilfs_dat_abort_alloc(struct inode *, struct nilfs_palloc_req *);
3939
int nilfs_dat_prepare_start(struct inode *, struct nilfs_palloc_req *);
4040
void nilfs_dat_commit_start(struct inode *, struct nilfs_palloc_req *,
4141
sector_t);
42-
void nilfs_dat_abort_start(struct inode *, struct nilfs_palloc_req *);
4342
int nilfs_dat_prepare_end(struct inode *, struct nilfs_palloc_req *);
4443
void nilfs_dat_commit_end(struct inode *, struct nilfs_palloc_req *, int);
4544
void nilfs_dat_abort_end(struct inode *, struct nilfs_palloc_req *);

0 commit comments

Comments
 (0)