fuse: flush requests on umount
authorMiklos Szeredi <mszeredi@suse.cz>
Fri, 12 Dec 2014 08:49:04 +0000 (09:49 +0100)
committerMiklos Szeredi <mszeredi@suse.cz>
Fri, 12 Dec 2014 08:49:04 +0000 (09:49 +0100)
commit580640ba5d331eb5631a5de46941c98f5ed90886
treed35634561892040cb1cd4a72f2646e2cbe88f05c
parent0c4dd4ba1426c599072511dcf95a15ee5e12725b
fuse: flush requests on umount

Use fuse_abort_conn() instead of fuse_conn_kill() in fuse_put_super().
This flushes and aborts requests still on any queues.  But since we've
already reset fc->connected, those requests would not be useful anyway and
would be flushed when the fuse device is closed.

Next patches will rely on requests being flushed before the superblock is
destroyed.

Use fuse_abort_conn() in cuse_process_init_reply() too, since it makes no
difference there, and we can get rid of fuse_conn_kill().

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
fs/fuse/cuse.c
fs/fuse/fuse_i.h
fs/fuse/inode.c
This page took 0.024625 seconds and 5 git commands to generate.