aboutsummaryrefslogtreecommitdiffstats
path: root/fs/udf/inode.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2008-04-07 19:17:52 -0400
committerJan Kara <jack@suse.cz>2008-04-17 08:23:41 -0400
commit742e1795e2d9dc99657742e5bbbb7907596bf6c3 (patch)
tree20320a77efa4291883e958c7c8fc4477d952b0ac /fs/udf/inode.c
parentc82a127505d39fa81c886eceed6fdf8c1ff4a06b (diff)
udf: Allow loading of VAT inode
UDF media with VAT could have never worked because udf_fill_inode() didn't know about case FILE_TYPE_VAT20. Fix this. Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/udf/inode.c')
-rw-r--r--fs/udf/inode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/udf/inode.c b/fs/udf/inode.c
index 2362bf0c6900..c150b6df6261 100644
--- a/fs/udf/inode.c
+++ b/fs/udf/inode.c
@@ -1275,6 +1275,7 @@ static void udf_fill_inode(struct inode *inode, struct buffer_head *bh)
1275 case ICBTAG_FILE_TYPE_REALTIME: 1275 case ICBTAG_FILE_TYPE_REALTIME:
1276 case ICBTAG_FILE_TYPE_REGULAR: 1276 case ICBTAG_FILE_TYPE_REGULAR:
1277 case ICBTAG_FILE_TYPE_UNDEF: 1277 case ICBTAG_FILE_TYPE_UNDEF:
1278 case ICBTAG_FILE_TYPE_VAT20:
1278 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB) 1279 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB)
1279 inode->i_data.a_ops = &udf_adinicb_aops; 1280 inode->i_data.a_ops = &udf_adinicb_aops;
1280 else 1281 else