diff options
author | NeilBrown <neilb@suse.de> | 2010-03-11 11:20:17 +1100 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-03-15 15:37:45 -0400 |
commit | cfbc0683af235106e7dabe92003870b82ad6f0ba (patch) | |
tree | 6668f249999c9fde9d6f97e6307e414159bacfcf /fs/coda | |
parent | bb6fbc4548b9ae7ebbd06ef72f00229df259d217 (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 'fs/coda')
0 files changed, 0 insertions, 0 deletions