From: Dmitry Kasatkin Date: Mon, 23 Jun 2014 17:32:56 +0000 (+0300) Subject: ima: fix fallback to use new_sync_read() X-Git-Tag: fixes-against-v3.18-rc2~106^2~12^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27cd1fc3ae5374a4a86662c67033f15ef27b2461;p=pandora-kernel.git ima: fix fallback to use new_sync_read() 3.16 commit aad4f8bb42af06371aa0e85bf0cd9d52c0494985 'switch simple generic_file_aio_read() users to ->read_iter()' replaced ->aio_read with ->read_iter in most of the file systems and introduced new_sync_read() as a replacement for do_sync_read(). Most of file systems set '->read' and ima_kernel_read is not affected. When ->read is not set, this patch adopts fallback call changes from the vfs_read. Signed-off-by: Dmitry Kasatkin Signed-off-by: Mimi Zohar Cc: 3.16+ --- Reading git-diff-tree failed