diff mbox series

common/rc: virtiofs does not support atime options

Message ID 20210316130131.11792-1-mreitz@redhat.com (mailing list archive)
State New, archived
Headers show
Series common/rc: virtiofs does not support atime options | expand

Commit Message

Max Reitz March 16, 2021, 1:01 p.m. UTC
As documented in Documentation/filesystems/virtiofs.rst (in the Linux
tree), virtiofs ignores atime-related mount options.

Signed-off-by: Max Reitz <mreitz@redhat.com>
---
 common/rc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Vladimir Zapolskiy March 16, 2021, 1:41 p.m. UTC | #1
On 3/16/21 3:01 PM, Max Reitz wrote:
> As documented in Documentation/filesystems/virtiofs.rst (in the Linux
> tree), virtiofs ignores atime-related mount options.
> 
> Signed-off-by: Max Reitz <mreitz@redhat.com>

The change is correct.

Reviewed-by: Vladimir Zapolskiy <vladimir@tuxera.com>

--
Best wishes,
Vladimir
diff mbox series

Patch

diff --git a/common/rc b/common/rc
index aea0d076..9fdbcd14 100644
--- a/common/rc
+++ b/common/rc
@@ -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