ceph: Move secret key parsing earlier.
This makes the base64 logic be contained in mount option parsing, and prepares us for replacing the homebew key management with the kernel key retention service. Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com> Signed-off-by: Sage Weil <sage@newdream.net>
此提交包含在:
@@ -353,7 +353,7 @@ static int ceph_show_options(struct seq_file *m, struct vfsmount *mnt)
|
||||
|
||||
if (opt->name)
|
||||
seq_printf(m, ",name=%s", opt->name);
|
||||
if (opt->secret)
|
||||
if (opt->key)
|
||||
seq_puts(m, ",secret=<hidden>");
|
||||
|
||||
if (opt->mount_timeout != CEPH_MOUNT_TIMEOUT_DEFAULT)
|
||||
|
新增問題並參考
封鎖使用者