summaryrefslogtreecommitdiffstats
path: root/fs/udf/inode.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2008-04-08 01:17:52 +0200
committerJan Kara <jack@suse.cz>2008-04-17 14:23:41 +0200
commit742e1795e2d9dc99657742e5bbbb7907596bf6c3 (patch)
tree20320a77efa4291883e958c7c8fc4477d952b0ac /fs/udf/inode.c
parentudf: Fix detection of VAT version (diff)
downloadlinux-742e1795e2d9dc99657742e5bbbb7907596bf6c3.tar.xz
linux-742e1795e2d9dc99657742e5bbbb7907596bf6c3.zip
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)
case ICBTAG_FILE_TYPE_REALTIME:
case ICBTAG_FILE_TYPE_REGULAR:
case ICBTAG_FILE_TYPE_UNDEF:
+ case ICBTAG_FILE_TYPE_VAT20:
if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB)
inode->i_data.a_ops = &udf_adinicb_aops;
else