From: Ian Abbott Date: Mon, 23 Jul 2012 16:39:29 +0000 (+0000) Subject: udf: fix udf_setsize() for file data in ICB X-Git-Tag: v3.6-rc4~21^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb2b6d19ec8b593b66402e2895c4314955b19833;p=pandora-kernel.git udf: fix udf_setsize() for file data in ICB If the new size is larger than the old size and the old file data was stored in the ICB (iinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB) and the new size still fits in the ICB, skip the call to udf_extend_file() as it does not handle this i_alloc_type value (it calls BUG()). Signed-off-by: Ian Abbott Signed-off-by: Jan Kara --- Reading git-diff-tree failed