From: Eric Biederman It appears I have one little bug fix that failed to make it into my patch. Without the following fix patch: file-modify-struct-fown_struct-to-use-a-struct-pid.patch will not compile :( Signed-off-by: Eric Biederman Signed-off-by: Andrew Morton --- fs/fcntl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN fs/fcntl.c~file-modify-struct-fown_struct-to-use-a-struct-pid-fix fs/fcntl.c --- a/fs/fcntl.c~file-modify-struct-fown_struct-to-use-a-struct-pid-fix +++ a/fs/fcntl.c @@ -306,7 +306,7 @@ pid_t f_getown(struct file *filp) { pid_t pid; pid = pid_nr(filp->f_owner.pid); - if (sock->file->f_owner.pid_type == PIDTYPE_PGID) + if (filp->f_owner.pid_type == PIDTYPE_PGID) pid = -pid; return pid; } _