[linux-cifs-client] [PATCH] cifs: remove never-used in6_addr option
Jeff Layton
jlayton at redhat.com
Wed Jun 10 13:57:54 GMT 2009
This option was never used to my knowledge. Remove it before someone
does...
Signed-off-by: Jeff Layton <jlayton at redhat.com>
---
fs/cifs/connect.c | 10 ----------
1 files changed, 0 insertions(+), 10 deletions(-)
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
index 10151f8..c424156 100644
--- a/fs/cifs/connect.c
+++ b/fs/cifs/connect.c
@@ -1319,16 +1319,6 @@ cifs_parse_mount_options(char *options, const char *devname,
vol->direct_io = 1;
} else if (strnicmp(data, "forcedirectio", 13) == 0) {
vol->direct_io = 1;
- } else if (strnicmp(data, "in6_addr", 8) == 0) {
- if (!value || !*value) {
- vol->in6_addr = NULL;
- } else if (strnlen(value, 49) == 48) {
- vol->in6_addr = value;
- } else {
- printk(KERN_WARNING "CIFS: ip v6 address not "
- "48 characters long\n");
- return 1;
- }
} else if (strnicmp(data, "noac", 4) == 0) {
printk(KERN_WARNING "CIFS: Mount option noac not "
"supported. Instead set "
--
1.6.0.6
More information about the linux-cifs-client
mailing list