summaryrefslogtreecommitdiffstats
path: root/fs/udf/udf_sb.h
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@gmail.com>2011-10-23 12:28:32 +0200
committerJan Kara <jack@suse.cz>2011-10-31 23:49:30 +0100
commit3080a74ea39eece6ac21aae768c48ab8b1f89ac1 (patch)
treec78cfad4ca9387b11bb7cef7b050c475ca25f592 /fs/udf/udf_sb.h
parentext3: Allow quota file use root reservation (diff)
downloadlinux-3080a74ea39eece6ac21aae768c48ab8b1f89ac1.tar.xz
linux-3080a74ea39eece6ac21aae768c48ab8b1f89ac1.zip
udf: Skip mirror metadata FE loading when metadata FE is ok
It is not necessary to load mirror metadata FE when metadata FE is OK. So try to read it only the first time udf_get_pblock_meta25() fails to map the block from metadata FE. Signed-off-by: Ashish Sangwan <ashishsangwan2@gmail.com> Signed-off-by: Namjae Jeon <linkinjeon@gmail.com> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/udf/udf_sb.h')
-rw-r--r--fs/udf/udf_sb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/udf/udf_sb.h b/fs/udf/udf_sb.h
index 4858c191242b..a3146b05feeb 100644
--- a/fs/udf/udf_sb.h
+++ b/fs/udf/udf_sb.h
@@ -61,6 +61,7 @@ struct udf_meta_data {
__u32 s_alloc_unit_size;
__u16 s_align_unit_size;
__u8 s_dup_md_flag;
+ __u8 s_mirror_loaded_flag;
struct inode *s_metadata_fe;
struct inode *s_mirror_fe;
struct inode *s_bitmap_fe;