]> git.baikalelectronics.ru Git - kernel.git/commit
write_inode_now(): avoid unnecessary synchronous write
authorMike Galbraith <efault@gmx.de>
Fri, 8 Feb 2008 12:20:23 +0000 (04:20 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 8 Feb 2008 17:22:34 +0000 (09:22 -0800)
commit3d7879a6b40691e92e1010515403a32d56ec8943
treee52412029b3c0d977e12454feb2a13f8415df6d9
parentf9c9fcc4820eab658e22019bcb0e288d2d145f74
write_inode_now(): avoid unnecessary synchronous write

We shouldn't use WB_SYNC_ALL if the caller is asking for asynchronous
treatment.

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>
fs/fs-writeback.c