diff options
Diffstat (limited to 'src/client/Client.cc')
-rw-r--r-- | src/client/Client.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/Client.cc b/src/client/Client.cc index feb3beb8a31..705c162da3b 100644 --- a/src/client/Client.cc +++ b/src/client/Client.cc @@ -5900,7 +5900,7 @@ int Client::_fsync(Fh *f, bool syncdataonly) wait_on_list(in->waitfor_commit); } - if (!flushed_metadata) wait_sync_caps(wait_on_flush); //this could wait longer than strictly necessary, + if (flushed_metadata) wait_sync_caps(wait_on_flush); //this could wait longer than strictly necessary, //but on a sync the user can put up with it ldout(cct, 10) << "ino " << in->ino << " has no uncommitted writes" << dendl; |