aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2010-03-10 19:20:17 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2010-03-15 15:37:45 -0400
commitcfbc0683af235106e7dabe92003870b82ad6f0ba (patch)
tree6668f249999c9fde9d6f97e6307e414159bacfcf /net/sunrpc
parentbb6fbc4548b9ae7ebbd06ef72f00229df259d217 (diff)
NFS: ensure bdi_unregister is called on mount failure.
bdi_unregister is called by nfs_put_super which is only called by generic_shutdown_super if ->s_root is not NULL. So if we error out in a circumstance where we called nfs_bdi_register (i.e. server != NULL) but have not set s_root, then we need to call bdi_unregister explicitly in nfs_get_sb and various other *_get_sb() functions. Signed-off-by: NeilBrown <neilb@suse.de> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc')
0 files changed, 0 insertions, 0 deletions