Skip to content
Commit 52b19ac9 authored by Jan Kara's avatar Jan Kara
Browse files

udf: Fix BUG_ON() in destroy_inode()



udf_clear_inode() can leave behind buffers on mapping's i_private list (when
we truncated preallocation). Call invalidate_inode_buffers() so that the list
is properly cleaned-up before we return from udf_clear_inode(). This is ugly
and suggest that we should cleanup preallocation earlier than in clear_inode()
but currently there's no such call available since drop_inode() is called under
inode lock and thus is unusable for disk operations.

Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent ed313489
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment