From: Maxim Patlasov Date: Tue, 18 Dec 2012 10:05:08 +0000 (+0400) Subject: fuse: truncate file if async dio failed X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~12^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=efb9fa9e911b23c7ea5330215bda778a7c69dba8;p=pandora-kernel.git fuse: truncate file if async dio failed The patch improves error handling in fuse_direct_IO(): if we successfully submitted several fuse requests on behalf of synchronous direct write extending file and some of them failed, let's try to do our best to clean-up. Changed in v2: reuse fuse_do_setattr(). Thanks to Brian for suggestion. Signed-off-by: Maxim Patlasov Signed-off-by: Miklos Szeredi --- Reading git-diff-tree failed