mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 12:16:20 +00:00
udf: avoid unnecessary synchronous writes
Fix udf_clear_inode() to request asynchronous writeout in icache reclaim path. Signed-off-by: Mike Galbraith <efault@gmx.de> Acked-by: Jan Kara <jack@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
7f3fbd0897
commit
32a8f24dd7
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ void udf_clear_inode(struct inode *inode)
|
|||
udf_discard_prealloc(inode);
|
||||
udf_truncate_tail_extent(inode);
|
||||
unlock_kernel();
|
||||
write_inode_now(inode, 1);
|
||||
write_inode_now(inode, 0);
|
||||
}
|
||||
iinfo = UDF_I(inode);
|
||||
kfree(iinfo->i_ext.i_data);
|
||||
|
|
Loading…
Reference in a new issue