[PATCH] udf: Print error when inode is loaded

Jan Kara
2014-10-10T14:24:11Z

fs/udf/super.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/udf/super.c b/fs/udf/super.c
index 5401fc33f5cc..479875155d77 100644
--- a/fs/udf/super.c
+++ b/fs/udf/super.c
@@ -962,7 +962,7 @@ struct inode *udf_find_metadata_inode_efe(struct super_block *sb,
metadata_fe = udf_iget(sb, &addr);

if (IS_ERR(metadata_fe)) {
- udf_warn(sb, "metadata inode efe not found\n");
+ udf_warn(sb, "metadata inode efe not found: %d\n", PTR_ERR(metadata_fe));
return metadata_fe;
}
if (UDF_I(metadata_fe)->i_alloc_type != ICBTAG_FLAG_AD_SHORT) {