From mboxrd@z Thu Jan 1 00:00:00 1970 From: bmarzins@sourceware.org Date: 15 Dec 2006 20:27:01 -0000 Subject: [Cluster-devel] cluster/gnbd/tools/gnbd_export gnbd_export.c Message-ID: <20061215202701.13352.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit CVSROOT: /cvs/cluster Module name: cluster Changes by: bmarzins at sourceware.org 2006-12-15 20:27:01 Modified files: gnbd/tools/gnbd_export: gnbd_export.c Log message: make it so that the -c and -[u|U] flags are mutually exclusive. Resolves bz 219413 Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gnbd/tools/gnbd_export/gnbd_export.c.diff?cvsroot=cluster&r1=1.10&r2=1.11 --- cluster/gnbd/tools/gnbd_export/gnbd_export.c 2006/06/26 17:29:31 1.10 +++ cluster/gnbd/tools/gnbd_export/gnbd_export.c 2006/12/15 20:27:00 1.11 @@ -802,6 +802,10 @@ return 1; } } + if (cached && (uid || uid_program)){ + printe("the -c option may not be used with the -u or -U option\n" MAN_MSG); + return 1; + } if (timeout && cached){ printe("the -t option may not be used with the -c option\n" MAN_MSG); return 1;