cifs: set a minimum of 120s for next dns resolution
[platform/kernel/linux-starfive.git] / fs / cifs / cifsglob.h
index 41e97df..102a4a2 100644 (file)
@@ -76,7 +76,8 @@
 #define SMB_ECHO_INTERVAL_MAX 600
 #define SMB_ECHO_INTERVAL_DEFAULT 60
 
-/* dns resolution interval in seconds */
+/* dns resolution intervals in seconds */
+#define SMB_DNS_RESOLVE_INTERVAL_MIN     120
 #define SMB_DNS_RESOLVE_INTERVAL_DEFAULT 600
 
 /* maximum number of PDUs in one compound */