summaryrefslogtreecommitdiffstats
path: root/fs/udf/udfdecl.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/udfdecl.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/udfdecl.h')
-rw-r--r--fs/udf/udfdecl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/udf/udfdecl.h b/fs/udf/udfdecl.h
index f3d449867301..79aae3fe7b55 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 *,