diff options
author | Jan Kara <jack@suse.cz> | 2011-10-24 16:47:48 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2011-10-31 23:49:48 +0100 |
commit | ed47a7d00c22b326fc4c97342a73ecd15929732e (patch) | |
tree | 2881bfe249edea2838623856806adfea2a82a71f /fs/udf/udf_sb.h | |
parent | 3080a74ea39eece6ac21aae768c48ab8b1f89ac1 (diff) | |
download | linux-ed47a7d00c22b326fc4c97342a73ecd15929732e.tar.bz2 |
udf: Cleanup metadata flags handling
Use simple ->s_flags variable instead of u8 variable for each flag.
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/udf/udf_sb.h')
-rw-r--r-- | fs/udf/udf_sb.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/udf/udf_sb.h b/fs/udf/udf_sb.h index a3146b05feeb..5142a82e3276 100644 --- a/fs/udf/udf_sb.h +++ b/fs/udf/udf_sb.h @@ -54,14 +54,16 @@ #pragma pack(1) /* XXX(hch): Why? This file just defines in-core structures */ +#define MF_DUPLICATE_MD 0x01 +#define MF_MIRROR_FE_LOADED 0x02 + struct udf_meta_data { __u32 s_meta_file_loc; __u32 s_mirror_file_loc; __u32 s_bitmap_file_loc; __u32 s_alloc_unit_size; __u16 s_align_unit_size; - __u8 s_dup_md_flag; - __u8 s_mirror_loaded_flag; + int s_flags; struct inode *s_metadata_fe; struct inode *s_mirror_fe; struct inode *s_bitmap_fe; |