diff options
author | Jan Kara <jack@suse.cz> | 2008-09-23 18:24:08 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2008-11-27 17:38:28 +0100 |
commit | 52b19ac993f1aeadbce15b55302be9a35346e235 (patch) | |
tree | 90695f8fdaa97d3a30b1e5f82016fb1cce3da16b /ipc/util.c | |
parent | Merge master.kernel.org:/home/rmk/linux-2.6-arm (diff) | |
download | linux-52b19ac993f1aeadbce15b55302be9a35346e235.tar.xz linux-52b19ac993f1aeadbce15b55302be9a35346e235.zip |
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: Jan Kara <jack@suse.cz>
Diffstat (limited to 'ipc/util.c')
0 files changed, 0 insertions, 0 deletions