Linux ocfs2 filesystem development
 help / color / mirror / Atom feed
* [Ocfs2-devel] [PATCH v2 07/10] ocfs2: define integrity_read method
       [not found] <1498069110-10009-1-git-send-email-zohar@linux.vnet.ibm.com>
@ 2017-06-21 18:18 ` Mimi Zohar
  2017-06-28 14:39   ` Christoph Hellwig
  0 siblings, 1 reply; 2+ messages in thread
From: Mimi Zohar @ 2017-06-21 18:18 UTC (permalink / raw)
  To: Christoph Hellwig, Al Viro
  Cc: Mimi Zohar, James Morris, linux-fsdevel, linux-ima-devel,
	linux-security-module, Mark Fasheh, Joel Becker, ocfs2-devel

Define an ->integrity_read file operation method to read data for
integrity hash collection.

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

diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c
index bfeb647459d9..2832a7c92acd 100644
--- a/fs/ocfs2/file.c
+++ b/fs/ocfs2/file.c
@@ -2536,6 +2536,7 @@ const struct file_operations ocfs2_fops = {
 	.fallocate	= ocfs2_fallocate,
 	.clone_file_range = ocfs2_file_clone_range,
 	.dedupe_file_range = ocfs2_file_dedupe_range,
+	.integrity_read	= ocfs2_file_read_iter,
 };
 
 const struct file_operations ocfs2_dops = {
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Ocfs2-devel] [PATCH v2 07/10] ocfs2: define integrity_read method
  2017-06-21 18:18 ` [Ocfs2-devel] [PATCH v2 07/10] ocfs2: define integrity_read method Mimi Zohar
@ 2017-06-28 14:39   ` Christoph Hellwig
  0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2017-06-28 14:39 UTC (permalink / raw)
  To: Mimi Zohar
  Cc: Christoph Hellwig, Al Viro, James Morris, linux-fsdevel,
	linux-ima-devel, linux-security-module, Mark Fasheh, Joel Becker,
	ocfs2-devel

should be folded into patch 2.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-06-28 14:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1498069110-10009-1-git-send-email-zohar@linux.vnet.ibm.com>
2017-06-21 18:18 ` [Ocfs2-devel] [PATCH v2 07/10] ocfs2: define integrity_read method Mimi Zohar
2017-06-28 14:39   ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox