diff options
-rw-r--r-- | fs/cifs/connect.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index 4898759d97cc..34186805e639 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c | |||
@@ -1457,10 +1457,16 @@ cifs_parse_mount_options(const char *mountdata, const char *devname, | |||
1457 | case Opt_direct: | 1457 | case Opt_direct: |
1458 | vol->direct_io = true; | 1458 | vol->direct_io = true; |
1459 | vol->strict_io = false; | 1459 | vol->strict_io = false; |
1460 | cERROR(1, "The \"directio\" option will be removed in " | ||
1461 | "3.7. Please switch to the \"cache=none\" " | ||
1462 | "option."); | ||
1460 | break; | 1463 | break; |
1461 | case Opt_strictcache: | 1464 | case Opt_strictcache: |
1462 | vol->direct_io = false; | 1465 | vol->direct_io = false; |
1463 | vol->strict_io = true; | 1466 | vol->strict_io = true; |
1467 | cERROR(1, "The \"strictcache\" option will be removed " | ||
1468 | "in 3.7. Please switch to the \"cache=strict\" " | ||
1469 | "option."); | ||
1464 | break; | 1470 | break; |
1465 | case Opt_noac: | 1471 | case Opt_noac: |
1466 | printk(KERN_WARNING "CIFS: Mount option noac not " | 1472 | printk(KERN_WARNING "CIFS: Mount option noac not " |