]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite42ebcc7e0bbf8ccbbf89cd676ac36de15cf0b01
tree1645235b1ff4461a8f67ed8fec24e0c15c64c614
parent1c9094d275b6ce1948fc1e028e8a168bfdea3fc1
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