]> err.no Git - linux-2.6/commitdiff
udf: Allow loading of VAT inode
authorJan Kara <jack@suse.cz>
Mon, 7 Apr 2008 23:17:52 +0000 (01:17 +0200)
committerJan Kara <jack@suse.cz>
Thu, 17 Apr 2008 12:23:41 +0000 (14:23 +0200)
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>
fs/udf/inode.c

index 2362bf0c6900e767381fb8f4c30784d72f8eec10..c150b6df6261f023e6b26a945f405adc08a76806 100644 (file)
@@ -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