[linux-cifs-client] [PATCH 04/10] mount.cifs: remove bogus rsize/wsize options

Jeff Layton jlayton at redhat.com
Sun Mar 21 13:20:21 MDT 2010


They don't actually do anything.

Signed-off-by: Jeff Layton <jlayton at redhat.com>
---
 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;
-- 
1.6.6.1



More information about the linux-cifs-client mailing list