]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - fs/inode.c
Btrfs: don't update atime on RO subvolumes
authorAlexander Block <ablock84@googlemail.com>
Fri, 15 Jun 2012 07:49:33 +0000 (09:49 +0200)
committerChris Mason <chris.mason@fusionio.com>
Mon, 23 Jul 2012 19:41:38 +0000 (15:41 -0400)
commit2bc5565286121d2a77ccd728eb3484dff2035b58
treecb2ec5d12e7427a1cec9c41c7576118bb112b1dd
parent063849eafda03edf6872a3728b4a98dcc86290c7
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: Alexander Block <ablock84@googlemail.com>
fs/btrfs/inode.c
fs/inode.c