summaryrefslogtreecommitdiffstats
path: root/block/t10-pi.c
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@redhat.com>2018-07-26 16:13:11 +0200
committerMiklos Szeredi <mszeredi@redhat.com>2018-07-26 16:13:11 +0200
commitb8f95e5d13f5f0191dcb4b9113113d241636e7cb (patch)
tree91bafee58d39bf8b75a6f6aa81ad553d5b389dcb /block/t10-pi.c
parent45ff350bbd9d0f0977ff270a0d427c71520c0c37 (diff)
downloadlinux-stable-b8f95e5d13f5f0191dcb4b9113113d241636e7cb.tar.gz
linux-stable-b8f95e5d13f5f0191dcb4b9113113d241636e7cb.tar.bz2
linux-stable-b8f95e5d13f5f0191dcb4b9113113d241636e7cb.zip
fuse: umount should wait for all requests
fuse_abort_conn() does not guarantee that all async requests have actually finished aborting (i.e. their ->end() function is called). This could actually result in still used inodes after umount. Add a helper to wait until all requests are fully done. This is done by looking at the "num_waiting" counter. When this counter drops to zero, we can be sure that no more requests are outstanding. Fixes: 0d8e84b0432b ("fuse: simplify request abort") Cc: <stable@vger.kernel.org> # v4.2 Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'block/t10-pi.c')
0 files changed, 0 insertions, 0 deletions