]> err.no Git - linux-2.6/commit
[NET]: Change type of owner in sock_lock_t to int, rename
authorJohn Heffner <jheffner@psc.edu>
Wed, 12 Sep 2007 08:44:19 +0000 (10:44 +0200)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:49:01 +0000 (16:49 -0700)
commitd2e9117c7aa9544d910634e17e3519fd67155229
tree531507ed5d2031fa80775036fec1b57584a236cb
parent02b3d34631831a19ee691516e233756b270eac6d
[NET]: Change type of owner in sock_lock_t to int, rename

The type of owner in sock_lock_t is currently (struct sock_iocb *),
presumably for historical reasons.  It is never used as this type, only
tested as NULL or set to (void *)1.  For clarity, this changes it to type
int, and renames to owned, to avoid any possible type casting errors.

Signed-off-by: John Heffner <jheffner@psc.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sock.h
net/core/sock.c