mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-10 07:00:48 +00:00
Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-udf-2.6
* 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-udf-2.6: udf: Fix BUG_ON() in destroy_inode()
This commit is contained in:
commit
9297524f6a
@ -878,6 +878,7 @@ void invalidate_inode_buffers(struct inode *inode)
|
|||||||
spin_unlock(&buffer_mapping->private_lock);
|
spin_unlock(&buffer_mapping->private_lock);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL(invalidate_inode_buffers);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Remove any clean buffers from the inode's buffer list. This is called
|
* Remove any clean buffers from the inode's buffer list. This is called
|
||||||
|
@ -106,6 +106,7 @@ void udf_clear_inode(struct inode *inode)
|
|||||||
udf_truncate_tail_extent(inode);
|
udf_truncate_tail_extent(inode);
|
||||||
unlock_kernel();
|
unlock_kernel();
|
||||||
write_inode_now(inode, 0);
|
write_inode_now(inode, 0);
|
||||||
|
invalidate_inode_buffers(inode);
|
||||||
}
|
}
|
||||||
iinfo = UDF_I(inode);
|
iinfo = UDF_I(inode);
|
||||||
kfree(iinfo->i_ext.i_data);
|
kfree(iinfo->i_ext.i_data);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user