From patchwork Sun Mar 21 19:20:21 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Layton X-Patchwork-Id: 87283 Received: from lists.samba.org (fn.samba.org [216.83.154.106]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o2LJKirA013176 for ; Sun, 21 Mar 2010 19:21:21 GMT Received: from fn.samba.org (localhost [127.0.0.1]) by lists.samba.org (Postfix) with ESMTP id A8F87AD16A; Sun, 21 Mar 2010 13:20:45 -0600 (MDT) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on fn.samba.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=3.8 tests=AWL, BAYES_00, NO_MORE_FUNN, SPF_PASS autolearn=no version=3.2.5 X-Original-To: linux-cifs-client@lists.samba.org Delivered-To: linux-cifs-client@lists.samba.org Received: from cdptpa-omtalb.mail.rr.com (cdptpa-omtalb.mail.rr.com [75.180.132.122]) by lists.samba.org (Postfix) with ESMTP id 2A009AD16A for ; Sun, 21 Mar 2010 13:20:29 -0600 (MDT) X-Authority-Analysis: v=1.0 c=1 a=us_Tw3j6KEkA:10 a=20KFwNOVAAAA:8 a=XDz5y4y7TD0Om4zN7skA:9 a=qVcxKB9h6em4n1LEb-UA:7 a=FdCEo9VUp49bsjSFmaRVlpEUlSAA:4 a=jEp0ucaQiEUA:10 X-Cloudmark-Score: 0 X-Originating-IP: 71.70.153.3 Received: from [71.70.153.3] ([71.70.153.3:53421] helo=mail.poochiereds.net) by cdptpa-oedge03.mail.rr.com (envelope-from ) (ecelerity 2.2.2.39 r()) with ESMTP id 66/DC-05956-B7176AB4; Sun, 21 Mar 2010 19:20:28 +0000 Received: by mail.poochiereds.net (Postfix, from userid 4447) id 8C9F85805E; Sun, 21 Mar 2010 15:20:27 -0400 (EDT) From: Jeff Layton To: linux-cifs-client@lists.samba.org Date: Sun, 21 Mar 2010 15:20:21 -0400 Message-Id: <1269199227-21446-5-git-send-email-jlayton@redhat.com> X-Mailer: git-send-email 1.6.6.1 In-Reply-To: References: Subject: [linux-cifs-client] [PATCH 04/10] mount.cifs: remove bogus rsize/wsize options X-BeenThere: linux-cifs-client@lists.samba.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: The Linux CIFS VFS client List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-cifs-client-bounces@lists.samba.org Errors-To: linux-cifs-client-bounces@lists.samba.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Sun, 21 Mar 2010 19:21:21 +0000 (UTC) diff --git a/mount.cifs.c b/mount.cifs.c index 9281761..1ba4175 100644 --- a/mount.cifs.c +++ b/mount.cifs.c @@ -1092,8 +1092,6 @@ static struct option longopts[] = { { "rw", 0, NULL, 'w' }, { "options", 1, NULL, 'o' }, { "type", 1, NULL, 't' }, - { "rsize",1, NULL, 'R' }, - { "wsize",1, NULL, 'W' }, { "uid", 1, NULL, '1'}, { "gid", 1, NULL, '2'}, { "user",1,NULL,'u'}, @@ -1177,8 +1175,6 @@ int main(int argc, char ** argv) char * temp; char * dev_name = NULL; int rc = 0; - int rsize = 0; - int wsize = 0; int nomtab = 0; int uid = 0; int gid = 0; @@ -1263,12 +1259,6 @@ int main(int argc, char ** argv) case 'w': flags &= ~MS_RDONLY; break; - case 'R': - rsize = atoi(optarg) ; - break; - case 'W': - wsize = atoi(optarg); - break; case '1': if (isdigit(*optarg)) { char *ep;