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/udfdecl.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/udfdecl.h')
-rw-r--r-- | fs/udf/udfdecl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/udf/udfdecl.h b/fs/udf/udfdecl.h index f3d44986..79aae3f 100644 --- a/fs/udf/udfdecl.h +++ b/fs/udf/udfdecl.h @@ -135,6 +135,8 @@ static inline void udf_updated_lvid(struct super_block *sb) UDF_SB(sb)->s_lvid_dirty = 1; } extern u64 lvid_get_unique_id(struct super_block *sb); +struct inode *udf_find_metadata_inode_efe(struct super_block *sb, + u32 meta_file_loc, u32 partition_num); /* namei.c */ extern int udf_write_fi(struct inode *inode, struct fileIdentDesc *, |