diff options
author | Raghavendra Bhat <raghavendrabhat@gluster.com> | 2012-01-19 11:41:55 +0530 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2012-01-19 09:03:39 -0800 |
commit | 9b389a3f76bc858f95e498c1539317c7a8bc6188 (patch) | |
tree | 3684de83b5f58741e7dda808a435077226759ee0 /libglusterfs/src/inode.h | |
parent | 6481f062b8ad0f47fa7715f78b7bf61623d1dc9a (diff) |
cluster/afr: do not unlock without holding the lock on the fd
In afr_open_fd_fix we were unlocking the local->fd->lock, without
holding the lock on it if we were not able to get the fd context.
Now we are directly going to out and returning, instead of going
to unlock without holding the lock.
Change-Id: I0da638bbd2c269127cf111b3aac707e4a95d20c6
BUG: 783036
Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com>
Reviewed-on: http://review.gluster.com/2658
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'libglusterfs/src/inode.h')
0 files changed, 0 insertions, 0 deletions