Trond Myklebust 91cf45f02a [NET]: Add the helper kernel_sock_shutdown()
...and fix a couple of bugs in the NBD, CIFS and OCFS2 socket handlers.

Looking at the sock->op->shutdown() handlers, it looks as if all of them
take a SHUT_RD/SHUT_WR/SHUT_RDWR argument instead of the
RCV_SHUTDOWN/SEND_SHUTDOWN arguments.
Add a helper, and then define the SHUT_* enum to ensure that kernel users
of shutdown() don't get confused.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Acked-by: Mark Fasheh <mark.fasheh@oracle.com>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-11-12 18:10:39 -08:00
..
2007-10-16 09:42:58 -07:00
2007-10-12 11:54:38 -07:00
2007-04-26 15:10:40 -07:00
2007-11-06 15:32:00 -08:00
2007-07-18 08:47:40 -07:00
2007-10-12 11:54:40 -07:00
2007-05-02 15:07:16 -07:00
2007-10-12 11:54:37 -07:00
2007-10-12 11:54:40 -07:00
2006-09-20 15:48:39 -07:00
2007-07-20 08:44:19 -07:00
2007-11-06 15:35:40 -08:00
2007-04-26 14:39:48 -07:00
2007-05-07 12:12:51 -07:00
2007-04-26 14:40:16 -07:00