diff options
author | Rajesh Amaravathi <rajesh@redhat.com> | 2013-02-05 16:52:16 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2013-02-06 16:14:55 -0800 |
commit | 2197c8b41423a7a9a5e55db0d3a5a27131966e72 (patch) | |
tree | b355be35c3efc501137369b45940b12e52a6f110 /libglusterfs/src/common-utils.c | |
parent | 45c04e107c365d29ca9872b5e2d12c932bf43a24 (diff) |
nfs/nlm: use req's uid and gid for open_and_resume
Previously, NLM was setting the frame->root->{uid,gid}
to root by default. This causes permission problems with
root squashing for lock calls. Now, we obtain the uid and
gid from rpc request. And duplicate #defines are removed
from rpcsvc.h
Change-Id: I5d6c87aed8d04aab2619bb913408048c0a02d1e7
BUG: 906884
Signed-off-by: Rajesh Amaravathi <rajesh@redhat.com>
Reviewed-on: http://review.gluster.org/4466
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'libglusterfs/src/common-utils.c')
0 files changed, 0 insertions, 0 deletions