diff options
author | Vijay Bellur <vbellur@redhat.com> | 2012-12-06 12:17:02 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2013-02-26 11:18:24 -0800 |
commit | dc8d19148a7cf16ead0eed60fe76e64a03391270 (patch) | |
tree | 5d10d275440b6296b0e7c3f4f7b298063597a34a /tests/volume.rc | |
parent | 990005435825bd4e66589d9a043951b388974ee3 (diff) | |
download | glusterfs-dc8d19148a7cf16ead0eed60fe76e64a03391270.tar.gz glusterfs-dc8d19148a7cf16ead0eed60fe76e64a03391270.tar.xz glusterfs-dc8d19148a7cf16ead0eed60fe76e64a03391270.zip |
nfs/server: Fix multiple crashes in acl handling code.
Change-Id: I9b39a485c8b98d9eabe6153487f4dfbd26f8af13
BUG: 915280
Signed-off-by: Vijay Bellur <vbellur@redhat.com>
Reviewed-on: http://review.gluster.org/4578
Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'tests/volume.rc')
-rw-r--r-- | tests/volume.rc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/volume.rc b/tests/volume.rc index 9debe2b997..1b9f8b2c85 100644 --- a/tests/volume.rc +++ b/tests/volume.rc @@ -39,6 +39,16 @@ function get_mount_process_pid { ps aux | grep glusterfs | grep -E "volfile-id[ =]/?$vol " | awk '{print $2}' | head -1 } +function get_nfs_pid () +{ + ps aux | grep "volfile-id\ gluster\/nfs" | awk '{print $2}' | head -1 +} + +function read_nfs_pidfile () +{ + echo `cat /var/lib/glusterd/nfs/run/nfs.pid` +} + function cleanup_statedump { pid=$1 rm -f $statedumpdir/*$pid.dump.* |