diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2009-09-21 09:59:39 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-09-21 15:40:33 +0200 |
commit | 48d0764998ad4ab7570afab8bb3bee0fbfa55b2a (patch) | |
tree | 7ad93edfbba609f7f7a730d66d47950630e203d3 /scripts | |
parent | 87c6a9b253520b66e7f5e8f67a37a701eaa51cee (diff) |
nfs: initialize the backing_dev_info when creating the server
NFS may free the server structure without ever having used the
bdi, so we either need to flag the bdi as being uninitialized or
initialize it up front. This does the latter.
This fixes a crash with mounting more than one NFS file system,
should people ever need that kind of obscure NFS functionality.
Tested-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions