aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/seglist.h
diff options
context:
space:
mode:
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2009-05-16 23:44:55 +0900
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2009-06-10 23:41:09 +0900
commit071cb4b81987a28c7ac2702003cff3e61684a630 (patch)
tree41e2f5a6d0e12d4ccc49850992ce6bfee68dd00e /fs/nilfs2/seglist.h
parentdda54f4b872512eba484c38631bd6ae5b5716f41 (diff)
downloadkernel_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.h6
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);