summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorMike Galbraith <efault@gmx.de>2008-02-08 04:20:49 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-08 09:22:36 -0800
commit32a8f24dd75c2be34606e77414afba7bc6b5b366 (patch)
tree78e4300f0a3657892aab4b3d01bb0297aaaa00d4 /fs
parent7f3fbd08976f1d2562d6174d5fe4c85d12bb7d54 (diff)
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 'fs')
-rw-r--r--fs/udf/inode.c2
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);