Project

General

Profile

Bug #5453 ยป 0001-mds-fix-O_TRUNC-locking.patch

Zheng Yan, 06/29/2013 05:35 PM

View differences:

src/mds/Server.cc
mdr->session->have_completed_request(req->get_reqid().tid, NULL))) {
assert(cur->is_auth());
wrlocks.insert(&cur->filelock);
xlocks.insert(&cur->filelock);
if (!mds->locker->acquire_locks(mdr, rdlocks, wrlocks, xlocks))
return;
    (1-1/1)