summaryrefslogtreecommitdiffstats
path: root/crypto/crc32c.c
diff options
context:
space:
mode:
authorMaxim Patlasov <mpatlasov@parallels.com>2012-12-18 14:05:08 +0400
committerMiklos Szeredi <mszeredi@suse.cz>2013-04-18 10:55:24 +0200
commitefb9fa9e911b23c7ea5330215bda778a7c69dba8 (patch)
tree7af69df4b3f3c5b89dc0e245a974fec358f23028 /crypto/crc32c.c
parent439ee5f0c5080d4fd15fda0c5bbee1fb3a57894e (diff)
downloadlinux-efb9fa9e911b23c7ea5330215bda778a7c69dba8.tar.gz
linux-efb9fa9e911b23c7ea5330215bda778a7c69dba8.tar.bz2
linux-efb9fa9e911b23c7ea5330215bda778a7c69dba8.zip
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 <mpatlasov@parallels.com> Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Diffstat (limited to 'crypto/crc32c.c')
0 files changed, 0 insertions, 0 deletions