diff options
author | Mike Galbraith <efault@gmx.de> | 2008-02-08 13:20:49 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-08 18:22:36 +0100 |
commit | 32a8f24dd75c2be34606e77414afba7bc6b5b366 (patch) | |
tree | 78e4300f0a3657892aab4b3d01bb0297aaaa00d4 /fs/udf/inode.c | |
parent | udf: fix signedness issue (diff) | |
download | linux-32a8f24dd75c2be34606e77414afba7bc6b5b366.tar.xz linux-32a8f24dd75c2be34606e77414afba7bc6b5b366.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | fs/udf/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/udf/inode.c b/fs/udf/inode.c index 466d2eea0eca..3483274fb5ba 100644 --- a/fs/udf/inode.c +++ b/fs/udf/inode.c @@ -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); |