On Wed, 10 May 2017, Christoph Hellwig wrote: > Add a new ->integrity_read file operation to read data for > integrity hash collection. This is defined to be equivalent > to ->read_iter, except that it will be called with the i_rwsem > held exclusively. Also the presence of ->integrity_read indicates > that the file system can support IMA. > > Signed-off-by: Christoph Hellwig <hch@xxxxxx> Fixes an IMA+XFS deadlock I've been seeing. Tested-by: James Morris <james.l.morris@xxxxxxxxxx> -- James Morris <jmorris@xxxxxxxxx>