SUNRPC: register PipeFS file system after pernet sybsystem
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Thu, 5 Apr 2012 17:04:37 +0000 (21:04 +0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 18 Apr 2012 15:05:48 +0000 (11:05 -0400)
commitadae0fe0ea87e8fb1a72dde304937c60759b495f
tree27cab6b39b71e4264779a3123b62d49e6afb0a17
parent6c216ec636f75d834461be15f83ec41a6759bd2b
SUNRPC: register PipeFS file system after pernet sybsystem

PipeFS superblock creation routine relays on SUNRPC pernet data presense, which
is created on register_pernet_subsys() call in SUNRPC module init function.
Registering of PipeFS filesystem prior to registering of per-net subsystem
leads to races (mount of PipeFS can dereference uninitialized data).

Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/sunrpc_syms.c