NFSv4: rpc_mkpipe creating socket inodes w/out sk buffers
authorSteve Dickson <steved@redhat.com>
Wed, 6 Sep 2006 15:51:21 +0000 (11:51 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 23 Sep 2006 03:25:05 +0000 (23:25 -0400)
commita53a3c58fd83e572a7c768d88b4c4e9840a57e82
treee1ff5aab7dd8d4c27d28abdec5c437bc48375ef8
parentaec5e175288c711cbe44750276f61efa3fa3d370
NFSv4: rpc_mkpipe creating socket inodes w/out sk buffers

This patch stop rpc_mkpipe from create S_IFSOCK nodes what don't
have associated sk buffers attached (which causes SELinux to oops
during NFSv4 mounts). Instead the S_IFIFO mode bit is set which
probably make more sense and seems to work just fine during
my connectathon and fsx testing...

Signed-off-by: Steve Dickson <steved@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/rpc_pipe.c