summaryrefslogtreecommitdiff
path: root/fs/nilfs2/dat.c
diff options
context:
space:
mode:
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2009-04-28 15:53:14 (GMT)
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2009-06-10 14:41:09 (GMT)
commit65822070646ed7f2cf520439006dd863529be16e (patch)
tree20f2271d69a58e0c57d2158ba63913a3bd8fb12e /fs/nilfs2/dat.c
parent07a2039b8eb0af4ff464efd3dfd95de5c02648c6 (diff)
downloadlinux-65822070646ed7f2cf520439006dd863529be16e.tar.xz
nilfs2: remove nilfs_dat_prepare_free function
This function is unused. Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Diffstat (limited to 'fs/nilfs2/dat.c')
-rw-r--r--fs/nilfs2/dat.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/fs/nilfs2/dat.c b/fs/nilfs2/dat.c
index bb8a581..1827f62 100644
--- a/fs/nilfs2/dat.c
+++ b/fs/nilfs2/dat.c
@@ -92,21 +92,6 @@ void nilfs_dat_abort_alloc(struct inode *dat, struct nilfs_palloc_req *req)
nilfs_palloc_abort_alloc_entry(dat, req);
}
-int nilfs_dat_prepare_free(struct inode *dat, struct nilfs_palloc_req *req)
-{
- int ret;
-
- ret = nilfs_palloc_prepare_free_entry(dat, req);
- if (ret < 0)
- return ret;
- ret = nilfs_dat_prepare_entry(dat, req, 0);
- if (ret < 0) {
- nilfs_palloc_abort_free_entry(dat, req);
- return ret;
- }
- return 0;
-}
-
void nilfs_dat_commit_free(struct inode *dat, struct nilfs_palloc_req *req)
{
struct nilfs_dat_entry *entry;