From patchwork Sun Mar 21 19:20:21 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [04/10] mount.cifs: remove bogus rsize/wsize options From: Jeff Layton X-Patchwork-Id: 48228 Message-Id: <1269199227-21446-5-git-send-email-jlayton@redhat.com> To: linux-cifs-client@lists.samba.org Date: Sun, 21 Mar 2010 15:20:21 -0400 They don't actually do anything. Signed-off-by: Jeff Layton --- mount.cifs.c | 10 ---------- 1 files changed, 0 insertions(+), 10 deletions(-) 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;