mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-17 09:43:59 +08:00
f2fs: clean up structure extent_node
The union in struct extent_node wass only to indicate below fields struct rb_node rb_node; union { struct { unsigned int fofs; unsigned int len; ... ... can be parsed as fields in struct rb_entry, but they were never be used explicitly before, so let's remove them for cleanup. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
parent
9249dded7b
commit
c0362117c3
@ -559,16 +559,8 @@ struct extent_info {
|
|||||||
};
|
};
|
||||||
|
|
||||||
struct extent_node {
|
struct extent_node {
|
||||||
struct rb_node rb_node;
|
struct rb_node rb_node; /* rb node located in rb-tree */
|
||||||
union {
|
struct extent_info ei; /* extent info */
|
||||||
struct {
|
|
||||||
unsigned int fofs;
|
|
||||||
unsigned int len;
|
|
||||||
u32 blk;
|
|
||||||
};
|
|
||||||
struct extent_info ei; /* extent info */
|
|
||||||
|
|
||||||
};
|
|
||||||
struct list_head list; /* node in global extent list of sbi */
|
struct list_head list; /* node in global extent list of sbi */
|
||||||
struct extent_tree *et; /* extent tree pointer */
|
struct extent_tree *et; /* extent tree pointer */
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user