fsp->fnum is the same as in_file_id_volatile.
When we start to support durable handles we should pass
in_file_id_persistent.
metze
Signed-off-by: Jeremy Allison <jra@samba.org>
return tevent_req_post(req, ev);
}
return tevent_req_post(req, ev);
}
- locks[i].smblctx = in_file_id_volatile;
+ locks[i].smblctx = fsp->fnum;
locks[i].offset = in_locks[i].offset;
locks[i].count = in_locks[i].length;
locks[i].offset = in_locks[i].offset;
locks[i].count = in_locks[i].length;