]> 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)
commit6c6f113197c55107db5cdffbf639d9d27bb6aabd
tree1645235b1ff4461a8f67ed8fec24e0c15c64c614
parent19297f0d8156c55c9f056bf54f00402ba912f9f5
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