diff options
author | Yaniv Kaul <ykaul@redhat.com> | 2019-11-18 22:20:01 +0200 |
---|---|---|
committer | MOHIT AGRAWAL <moagrawa@redhat.com> | 2019-11-19 10:03:28 +0000 |
commit | a8d54730bba5050ad53cfa46477e698d565e05b1 (patch) | |
tree | 7f1b166dc2e690a6147abb8bff5cea6b386e218b /cli/src/cli-rpc-ops.c | |
parent | b9181e9212b6916ba1c8a269c1474e7aef144f6a (diff) |
glusterfsd-mgmt.c: move INFO log outside a LOCK
In glusterfs_handle_attach() we can:
1. Move an INFO level to be executed before the LOCK.
2. Skip the LOCK altogether, if there's no active graph.
I hope it's safe - I've seen that in other functions
you could look at ctx->active outside of a lock.
Change-Id: I3e1ec5b1430d5fddee46883d468ff4f5bd6ca54b
updates: bz#1193929
Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
Diffstat (limited to 'cli/src/cli-rpc-ops.c')
0 files changed, 0 insertions, 0 deletions