Skip to content
Commit 2bc55652 authored by Alexander Block's avatar Alexander Block Committed by Chris Mason
Browse files

Btrfs: don't update atime on RO subvolumes



Before the update_time inode operation was indroduced, it was
not possible to prevent updates of atime on RO subvolumes. VFS
was only able to check for RO on the mount, but did not know
anything about btrfs subvolumes.

btrfs_update_time does now check if the root is RO and skip
updating of times.

Signed-off-by: default avatarAlexander Block <ablock84@googlemail.com>
parent 063849ea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment