security: call security_file_permission from rw_verify_area
authorJames Morris <jmorris@namei.org>
Sat, 12 Jan 2008 11:05:48 +0000 (22:05 +1100)
committerJames Morris <jmorris@namei.org>
Fri, 25 Jan 2008 00:29:52 +0000 (11:29 +1100)
commitc43e259cc756ece387faae849af0058b56d78466
tree1f1541560256b9fe2eeda5b07100baa14f39df59
parentbced95283e9434611cbad8f2ff903cd396eaea72
security: call security_file_permission from rw_verify_area

All instances of rw_verify_area() are followed by a call to
security_file_permission(), so just call the latter from the former.

Acked-by: Eric Paris <eparis@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
fs/compat.c
fs/read_write.c
fs/splice.c