summaryrefslogtreecommitdiff
path: root/arch/sparc/kernel/prom_irqtrans.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2010-03-11 00:20:17 (GMT)
committerTrond Myklebust <Trond.Myklebust@netapp.com>2010-03-15 19:37:45 (GMT)
commitcfbc0683af235106e7dabe92003870b82ad6f0ba (patch)
tree6668f249999c9fde9d6f97e6307e414159bacfcf /arch/sparc/kernel/prom_irqtrans.c
parentbb6fbc4548b9ae7ebbd06ef72f00229df259d217 (diff)
downloadlinux-fsl-qoriq-cfbc0683af235106e7dabe92003870b82ad6f0ba.tar.xz
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 'arch/sparc/kernel/prom_irqtrans.c')
0 files changed, 0 insertions, 0 deletions