summaryrefslogtreecommitdiffstats
path: root/tests/env.rc.in
diff options
context:
space:
mode:
authorNiels de Vos <ndevos@redhat.com>2017-07-25 09:25:53 +0200
committerjiffin tony Thottan <jthottan@redhat.com>2017-08-01 05:11:48 +0000
commit45c973576d6356dbe4da897e9f0528eac7529d48 (patch)
tree1fd1cfcbc997164a064b04b19a7cdc94c5153cad /tests/env.rc.in
parent18cb1a87bb7c88657b499b22894b81f1f694b6ad (diff)
nfs: use "/" as subdir for volume mounts
For cases where subdir mounting is checked, it makes it much easier to return a subdir of "/" in case no subdir is passed. This reduces the number of corner cases where permissions are checked for subdir mounts, but not for volume mounts (or the other way around). The problem was identified by WebNFS mounting a volume, which got denied after commit e3f48fa2. Handling this would require an exception for non-subdir mounts, or make non-subdir mounts equal to subdir mounts. This change takes the 2nd approach. Change-Id: I0d810ae90b267a2cc3eac8d55368a0f1b0787f6a Fixes: e3f48fa2 ("nfs: add permission checking for mounting over WebNFS") BUG: 1468291 Signed-off-by: Niels de Vos <ndevos@redhat.com> Reviewed-on: https://review.gluster.org/17898 Smoke: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: soumya k <skoduri@redhat.com> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: jiffin tony Thottan <jthottan@redhat.com>
Diffstat (limited to 'tests/env.rc.in')
0 files changed, 0 insertions, 0 deletions