From a27580d0ccf106c08b3dd52b00d630c674605c59 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 23 Apr 2020 15:20:48 +0200 Subject: [PATCH] lib/nfs/Connection: don't pass HANGUP to Schedule() This flag is output-only. --- src/lib/nfs/Connection.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/nfs/Connection.cxx b/src/lib/nfs/Connection.cxx index 35c84b7de..6b61f8c2b 100644 --- a/src/lib/nfs/Connection.cxx +++ b/src/lib/nfs/Connection.cxx @@ -450,8 +450,7 @@ NfsConnection::ScheduleSocket() noexcept SocketMonitor::Open(_fd); } - SocketMonitor::Schedule(libnfs_to_events(which_events) - | SocketMonitor::HANGUP); + SocketMonitor::Schedule(libnfs_to_events(which_events)); } inline int