diff options
author | Mike Galbraith <efault@gmx.de> | 2008-02-08 04:20:49 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-08 09:22:36 -0800 |
commit | 32a8f24dd75c2be34606e77414afba7bc6b5b366 (patch) | |
tree | 78e4300f0a3657892aab4b3d01bb0297aaaa00d4 | |
parent | 7f3fbd08976f1d2562d6174d5fe4c85d12bb7d54 (diff) | |
download | linux-3.10-32a8f24dd75c2be34606e77414afba7bc6b5b366.tar.gz linux-3.10-32a8f24dd75c2be34606e77414afba7bc6b5b366.tar.bz2 linux-3.10-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>
-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 466d2eea0ec..3483274fb5b 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); |