NFS: get module in idmap PipeFS notifier callback
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Sat, 28 Apr 2012 15:32:21 +0000 (19:32 +0400)
committerVarun Wadekar <vwadekar@nvidia.com>
Mon, 14 May 2012 13:23:22 +0000 (18:23 +0530)
commit8767a0d816ba5f7feff641e524249c40add0abb0
treeec9d026ae982093d92cb14661ae830b1f94b58ef
parenta1d826bc60718ca786782fe89f595f84b5d70648
NFS: get module in idmap PipeFS notifier callback

This is bug fix.
Notifier callback is called from SUNRPC module. So before dereferencing NFS
module we have to make sure, that it's alive.

Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/idmap.c