Skip to contentSkip to conversation

common/rc: virtiofs does not support atime options

PATCH In review Max Reitz 2 participants 2 messages Mar 16, 2021

lore
Share & tools
lore

Max Reitz

author
#0 lore raw

PATCH 1/1 common/rc: virtiofs does not support atime options

As documented in Documentation/filesystems/virtiofs.rst (in the Linux tree), virtiofs ignores atime-related mount options.

---
 common/rc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
common/rc +1 -1
index aea0d076..9fdbcd14 100644
@@ -3572,7 +3572,7 @@ _require_atime()
 {
 	_exclude_scratch_mount_option "noatime"
 	case $FSTYP in
-	nfs|cifs)
+	nfs|cifs|virtiofs)
 		_notrun "atime related mount options have no effect on $FSTYP"
 		;;
 	esac
Signature · 1 line
2.29.2