]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - net/socket.c
fs/fcntl: f_setown, allow returning error
authorJiri Slaby <jslaby@suse.cz>
Tue, 13 Jun 2017 11:35:50 +0000 (13:35 +0200)
committerJeff Layton <jlayton@redhat.com>
Wed, 14 Jun 2017 12:46:36 +0000 (08:46 -0400)
commit393cc3f51135ea2520521f776ef3afdf3395c797
tree39e155523cb90f73b234ebf1bf3a580ba0ab1e36
parent94073ad77fff221b5e66b8b9863a546ba212d6a3
fs/fcntl: f_setown, allow returning error

Allow f_setown to return an error value. We will fail in the next patch
with EINVAL for bad input to f_setown, so tile the path for the later
patch.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Cc: Jeff Layton <jlayton@poochiereds.net>
Cc: "J. Bruce Fields" <bfields@fieldses.org>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: linux-fsdevel@vger.kernel.org
Signed-off-by: Jeff Layton <jlayton@redhat.com>
fs/fcntl.c
include/linux/fs.h
net/socket.c