From: Trond Myklebust Date: Tue, 13 Nov 2007 02:10:39 +0000 (-0800) Subject: [NET]: Add the helper kernel_sock_shutdown() X-Git-Tag: v2.6.24-rc3~145^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91cf45f02af5c871251165d000c3f42a2a0b0552;p=pandora-kernel.git [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 Acked-by: Mark Fasheh Acked-by: David Howells Signed-off-by: David S. Miller --- Reading git-diff-tree failed