diff options
author | Namjae Jeon <linkinjeon@gmail.com> | 2011-10-23 19:28:32 +0900 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2011-10-31 23:49:30 +0100 |
commit | 3080a74ea39eece6ac21aae768c48ab8b1f89ac1 (patch) | |
tree | c78cfad4ca9387b11bb7cef7b050c475ca25f592 /fs/udf/udf_sb.h | |
parent | 6360e21f943172bb71772ec150b96a9e787a535f (diff) | |
download | op-kernel-dev-3080a74ea39eece6ac21aae768c48ab8b1f89ac1.zip op-kernel-dev-3080a74ea39eece6ac21aae768c48ab8b1f89ac1.tar.gz |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/udf/udf_sb.h b/fs/udf/udf_sb.h index 4858c19..a3146b0 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; |