|
@@ -1147,8 +1147,7 @@ static void udf_update_extents(struct inode *inode, struct kernel_long_ad *laarr
|
|
|
|
|
|
if (startnum > endnum) {
|
|
|
for (i = 0; i < (startnum - endnum); i++)
|
|
|
- udf_delete_aext(inode, *epos, laarr[i].extLocation,
|
|
|
- laarr[i].extLength);
|
|
|
+ udf_delete_aext(inode, *epos);
|
|
|
} else if (startnum < endnum) {
|
|
|
for (i = 0; i < (endnum - startnum); i++) {
|
|
|
udf_insert_aext(inode, *epos, laarr[i].extLocation,
|
|
@@ -2176,14 +2175,15 @@ static int8_t udf_insert_aext(struct inode *inode, struct extent_position epos,
|
|
|
return (nelen >> 30);
|
|
|
}
|
|
|
|
|
|
-int8_t udf_delete_aext(struct inode *inode, struct extent_position epos,
|
|
|
- struct kernel_lb_addr eloc, uint32_t elen)
|
|
|
+int8_t udf_delete_aext(struct inode *inode, struct extent_position epos)
|
|
|
{
|
|
|
struct extent_position oepos;
|
|
|
int adsize;
|
|
|
int8_t etype;
|
|
|
struct allocExtDesc *aed;
|
|
|
struct udf_inode_info *iinfo;
|
|
|
+ struct kernel_lb_addr eloc;
|
|
|
+ uint32_t elen;
|
|
|
|
|
|
if (epos.bh) {
|
|
|
get_bh(epos.bh);
|