[PATCH] common/rc: skip atime related tests on CIFS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: xiaoli feng <xifeng@xxxxxxxxxx>

The atime related mount options have no effect on cifs mounts
now or in the future. So skip these tests on CIFS.

Signed-off-by: xiaoli feng <xifeng@xxxxxxxxxx>
---
 common/rc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/common/rc b/common/rc
index ffe5323..d3af55f 100644
--- a/common/rc
+++ b/common/rc
@@ -3244,6 +3244,8 @@ _require_atime()
 	_exclude_scratch_mount_option "noatime"
 	if [ "$FSTYP" == "nfs" ]; then
 		_notrun "atime related mount options have no effect on NFS"
+	elif [ "$FSTYP" == "cifs" ]; then
+		_notrun "atime related mount options have no effect on CIFS"
 	fi
 }
 
-- 
1.8.3.1

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux