Merge 4.14.53 into android-4.14
[GitHub/moto-9609/android_kernel_motorola_exynos9610.git] / fs / fuse / dev.c
index 968b798235021947469ad6c49a61f17ae8931f1e..f4d6c279922e205666104fa372806a45d11f8585 100644 (file)
@@ -383,8 +383,7 @@ static void request_end(struct fuse_conn *fc, struct fuse_req *req)
                if (!fc->blocked && waitqueue_active(&fc->blocked_waitq))
                        wake_up(&fc->blocked_waitq);
 
-               if (fc->num_background == fc->congestion_threshold &&
-                   fc->connected && fc->sb) {
+               if (fc->num_background == fc->congestion_threshold && fc->sb) {
                        clear_bdi_congested(fc->sb->s_bdi, BLK_RW_SYNC);
                        clear_bdi_congested(fc->sb->s_bdi, BLK_RW_ASYNC);
                }