security: make security_file_set_fowner, f_setown and __f_setown void return
authorJeff Layton <jlayton@primarydata.com>
Fri, 22 Aug 2014 15:27:32 +0000 (11:27 -0400)
committerJeff Layton <jlayton@primarydata.com>
Tue, 9 Sep 2014 20:01:36 +0000 (16:01 -0400)
commite0b93eddfe17dcb7d644eb5d6ad02a86fc41a977
tree97ceab83fdbfd3bf54fd8235a66da665fbcc83a7
parent1c994a0909a556508c2cc26ab5d9e13c5ce33aa0
security: make security_file_set_fowner, f_setown and __f_setown void return

security_file_set_fowner always returns 0, so make it f_setown and
__f_setown void return functions and fix up the error handling in the
callers.

Cc: linux-security-module@vger.kernel.org
Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
12 files changed:
drivers/net/tun.c
drivers/tty/tty_io.c
fs/fcntl.c
fs/locks.c
fs/notify/dnotify/dnotify.c
include/linux/fs.h
include/linux/security.h
net/socket.c
security/capability.c
security/security.c
security/selinux/hooks.c
security/smack/smack_lsm.c