diff mbox

[v2,05/10] tmpfs: define integrity_read method

Message ID 1498069110-10009-6-git-send-email-zohar@linux.vnet.ibm.com (mailing list archive)
State New, archived
Headers show

Commit Message

Mimi Zohar June 21, 2017, 6:18 p.m. UTC
Define an ->integrity_read file operation method to read data for
integrity hash collection.

Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
---
 mm/shmem.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Christoph Hellwig June 28, 2017, 2:38 p.m. UTC | #1
On Wed, Jun 21, 2017 at 02:18:25PM -0400, Mimi Zohar wrote:
> Define an ->integrity_read file operation method to read data for
> integrity hash collection.

should be folded into patch 2.
Mimi Zohar July 6, 2017, 11:55 a.m. UTC | #2
On Wed, 2017-06-28 at 16:38 +0200, Christoph Hellwig wrote:
> On Wed, Jun 21, 2017 at 02:18:25PM -0400, Mimi Zohar wrote:
> > Define an ->integrity_read file operation method to read data for
> > integrity hash collection.
> 
> should be folded into patch 2.

I was hoping to get some Acks/sign-off's from the individual
filesystem maintainers before squashing them.  The next version will
be squashed.

Mimi
diff mbox

Patch

diff --git a/mm/shmem.c b/mm/shmem.c
index e67d6ba4e98e..16958b20946f 100644
--- a/mm/shmem.c
+++ b/mm/shmem.c
@@ -3846,6 +3846,7 @@  static const struct file_operations shmem_file_operations = {
 	.splice_read	= generic_file_splice_read,
 	.splice_write	= iter_file_splice_write,
 	.fallocate	= shmem_fallocate,
+	.integrity_read	= shmem_file_read_iter,
 #endif
 };