On Mon, May 04, 2020 at 08:38:36AM +0000, Johannes Thumshirn wrote: > On 01/05/2020 08:30, Eric Biggers wrote: > > btrfs also has an inode flag BTRFS_INODE_NODATASUM, which looks scary as it > > results in the file being unauthenticated. Presumably the authentication of the > > filesystem metadata is supposed to prevent this flag from being maliciously > > cleared? It might be a good idea to forbid this flag if the filesystem is using > > the authentication feature. > > Yes indeed, authentication and nodatasum must be mutually exclusive. Which also means that nodatacow can't be used as it implies nodatasum.