Re: [PATCH 1/4] fs: split update_time() into update_time() and write_time()
From: Christoph Hellwig <hch@infradead.org>
Date: 2014-11-24 15:21:01
Also in:
linux-btrfs, linux-fsdevel, linux-xfs
From: Christoph Hellwig <hch@infradead.org>
Date: 2014-11-24 15:21:01
Also in:
linux-btrfs, linux-fsdevel, linux-xfs
On Fri, Nov 21, 2014 at 02:59:21PM -0500, Theodore Ts'o wrote:
We needed to preserve update_time() because btrfs wants to have a special btrfs_root_readonly() check; otherwise we could drop the update_time() inode operation entirely.
Can't btrfs just set the immutable flag on every inode that is read when the root has the BTRFS_ROOT_SUBVOL_RDONLY flag? That would cut down the places that need this check to the ioctl path so that we prevent users from clearling the immutable flag. _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs