commit | bb2b6d19ec8b593b66402e2895c4314955b19833 | [log] [tgz] |
---|---|---|
author | Ian Abbott <abbotti@mev.co.uk> | Mon Jul 23 16:39:29 2012 +0000 |
committer | Jan Kara <jack@suse.cz> | Wed Aug 15 00:21:58 2012 +0200 |
tree | e3d241b0965f4e292c101a6b8b212b8c2fa57838 | |
parent | ddf343f635fe4440cad528e12f96f28bd50aa099 [diff] |
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 <abbotti@mev.co.uk> Signed-off-by: Jan Kara <jack@suse.cz>