We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e298de commit a7caa88Copy full SHA for a7caa88
fs/ceph/mds_client.c
@@ -4453,7 +4453,6 @@ int ceph_mdsc_init(struct ceph_fs_client *fsc)
4453
goto err_mdsc;
4454
}
4455
4456
- fsc->mdsc = mdsc;
4457
init_completion(&mdsc->safe_umount_waiters);
4458
init_waitqueue_head(&mdsc->session_close_wq);
4459
INIT_LIST_HEAD(&mdsc->waiting_for_map);
@@ -4508,6 +4507,8 @@ int ceph_mdsc_init(struct ceph_fs_client *fsc)
4508
4507
4509
strscpy(mdsc->nodename, utsname()->nodename,
4510
sizeof(mdsc->nodename));
+
4511
+ fsc->mdsc = mdsc;
4512
return 0;
4513
4514
err_mdsmap:
0 commit comments