VFS: refactor vfs_read()
authorDmitry Kasatkin <d.kasatkin@samsung.com>
Wed, 5 Nov 2014 15:01:17 +0000 (17:01 +0200)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Tue, 18 Nov 2014 04:14:22 +0000 (23:14 -0500)
commit6fb5032ebb1c5b852461d64ee33829081de8ca61
tree1645235b1ff4461a8f67ed8fec24e0c15c64c614
parentc57782c13ecd7e7aca66cbf0139ad2a72317dc81
VFS: refactor vfs_read()

integrity_kernel_read() duplicates the file read operations code
in vfs_read(). This patch refactors vfs_read() code creating a
helper function __vfs_read(). It is used by both vfs_read() and
integrity_kernel_read().

Signed-off-by: Dmitry Kasatkin <d.kasatkin@samsung.com>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
fs/read_write.c
include/linux/fs.h
security/integrity/iint.c