Message ID | Pine.LNX.4.64.1105180858360.1988@cobra.newdream.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/src/client/Client.cc b/src/client/Client.cc index 7f7fb08..bf0997a 100644 --- a/src/client/Client.cc +++ b/src/client/Client.cc @@ -4934,7 +4934,6 @@ public: void Client::sync_write_commit(Inode *in) { - client_lock.Lock(); assert(unsafe_sync_write > 0); unsafe_sync_write--; @@ -4947,8 +4946,6 @@ void Client::sync_write_commit(Inode *in) } put_inode(in); - - client_lock.Unlock(); } int Client::write(int fd, const char *buf, loff_t size, loff_t offset)