Skip to content

Commit 6582207

Browse files
committed
nilfs2: remove nilfs_dat_prepare_free function
This function is unused. Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
1 parent 07a2039 commit 6582207

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

‎fs/nilfs2/dat.c‎

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -92,21 +92,6 @@ void nilfs_dat_abort_alloc(struct inode *dat, struct nilfs_palloc_req *req)
9292
nilfs_palloc_abort_alloc_entry(dat, req);
9393
}
9494

95-
int nilfs_dat_prepare_free(struct inode *dat, struct nilfs_palloc_req *req)
96-
{
97-
int ret;
98-
99-
ret = nilfs_palloc_prepare_free_entry(dat, req);
100-
if (ret < 0)
101-
return ret;
102-
ret = nilfs_dat_prepare_entry(dat, req, 0);
103-
if (ret < 0) {
104-
nilfs_palloc_abort_free_entry(dat, req);
105-
return ret;
106-
}
107-
return 0;
108-
}
109-
11095
void nilfs_dat_commit_free(struct inode *dat, struct nilfs_palloc_req *req)
11196
{
11297
struct nilfs_dat_entry *entry;

0 commit comments

Comments
 (0)