diff options
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2009-05-16 23:44:55 +0900 |
---|---|---|
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2009-06-10 23:41:09 +0900 |
commit | 071cb4b81987a28c7ac2702003cff3e61684a630 (patch) | |
tree | 41e2f5a6d0e12d4ccc49850992ce6bfee68dd00e /fs/nilfs2/seglist.h | |
parent | dda54f4b872512eba484c38631bd6ae5b5716f41 (diff) | |
download | kernel_samsung_smdk4412-071cb4b81987a28c7ac2702003cff3e61684a630.tar.gz kernel_samsung_smdk4412-071cb4b81987a28c7ac2702003cff3e61684a630.tar.bz2 kernel_samsung_smdk4412-071cb4b81987a28c7ac2702003cff3e61684a630.zip |
nilfs2: eliminate removal list of segments
This will clean up the removal list of segments and the related
functions from segment.c and ioctl.c, which have hurt code
readability.
This elimination is applied by using nilfs_sufile_updatev() previously
introduced in the patch ("nilfs2: add sufile function that can modify
multiple segment usages").
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Diffstat (limited to 'fs/nilfs2/seglist.h')
-rw-r--r-- | fs/nilfs2/seglist.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/nilfs2/seglist.h b/fs/nilfs2/seglist.h index d39df9144e9..e448e40c1ec 100644 --- a/fs/nilfs2/seglist.h +++ b/fs/nilfs2/seglist.h @@ -32,11 +32,6 @@ struct nilfs_segment_entry { __u64 segnum; -#define NILFS_SLH_FREED 0x0001 /* The segment was freed provisonally. - It must be cancelled if - construction aborted */ - - unsigned flags; struct list_head list; struct buffer_head *bh_su; struct nilfs_segment_usage *raw_su; @@ -52,7 +47,6 @@ nilfs_alloc_segment_entry(__u64 segnum) if (likely(ent)) { ent->segnum = segnum; - ent->flags = 0; ent->bh_su = NULL; ent->raw_su = NULL; INIT_LIST_HEAD(&ent->list); |