From dc8d19148a7cf16ead0eed60fe76e64a03391270 Mon Sep 17 00:00:00 2001 From: Vijay Bellur Date: Thu, 6 Dec 2012 12:17:02 +0530 Subject: nfs/server: Fix multiple crashes in acl handling code. Change-Id: I9b39a485c8b98d9eabe6153487f4dfbd26f8af13 BUG: 915280 Signed-off-by: Vijay Bellur Reviewed-on: http://review.gluster.org/4578 Reviewed-by: Kaleb KEITHLEY Tested-by: Gluster Build System Reviewed-by: Anand Avati --- tests/volume.rc | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tests/volume.rc') diff --git a/tests/volume.rc b/tests/volume.rc index 9debe2b99..1b9f8b2c8 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.* -- cgit