diff mbox

[v2,09/10] ubifs: define integrity_read method

Message ID 1498069110-10009-10-git-send-email-zohar@linux.vnet.ibm.com
State Changes Requested
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>
---
 fs/ubifs/file.c | 1 +
 1 file changed, 1 insertion(+)

Comments

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

should be folded into patch 2.
diff mbox

Patch

diff --git a/fs/ubifs/file.c b/fs/ubifs/file.c
index 2cda3d67e2d0..eeb4e872e47a 100644
--- a/fs/ubifs/file.c
+++ b/fs/ubifs/file.c
@@ -1754,4 +1754,5 @@  const struct file_operations ubifs_file_operations = {
 #ifdef CONFIG_COMPAT
 	.compat_ioctl   = ubifs_compat_ioctl,
 #endif
+	.integrity_read = generic_file_read_iter,
 };