diff options
| author | Jeff Darcy <jdarcy@fb.com> | 2017-08-18 07:57:44 -0700 |
|---|---|---|
| committer | Shreyas Siravara <sshreyas@fb.com> | 2017-09-08 22:55:23 +0000 |
| commit | cfda6dde4587cff2d525a3d591f333b89e739b90 (patch) | |
| tree | 8d81099abaee31fec99d465cf363b04f79dbb384 /cli/src/cli-cmd-snapshot.c | |
| parent | f4bfd49009d3b5aa4a6d960f795f2e3f8e9d2762 (diff) | |
nfs: Add locking to auth-cache, fix some bugs
Summary:
A lot of the diff "volume" is just refactoring, which should have no functional effect.
It's preparation for adding a new implementation.
The main functional change is locking around the external calls into this module, to prevent some of the races that we've seen.
Additional fixes:
- entry_data->data can be NULL, so we should check lookup_res before dereferencing it below.
- It renames functions that need to be locked to have double underscores in front of them.
This is a port of D5658875, D5658809 & D5762136 to 3.8
Change-Id: If1b71b5c3268271f3a41c07394c215290a12c0ec
Reviewed-on: https://review.gluster.org/18247
Reviewed-by: Shreyas Siravara <sshreyas@fb.com>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Smoke: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'cli/src/cli-cmd-snapshot.c')
0 files changed, 0 insertions, 0 deletions
