mirror of
https://github.com/torvalds/linux.git
synced 2026-07-29 18:51:21 +02:00
selinux: use QSTR() instead of QSTR_INIT() in init_sel_fs
Drop the length argument and use the simpler QSTR(). Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Signed-off-by: Paul Moore <paul@paul-moore.com>
This commit is contained in:
parent
254f49634e
commit
4e3881b0a3
|
|
@ -2107,8 +2107,7 @@ struct path selinux_null __ro_after_init;
|
|||
|
||||
int __init init_sel_fs(void)
|
||||
{
|
||||
struct qstr null_name = QSTR_INIT(NULL_FILE_NAME,
|
||||
sizeof(NULL_FILE_NAME)-1);
|
||||
struct qstr null_name = QSTR(NULL_FILE_NAME);
|
||||
int err;
|
||||
|
||||
if (!selinux_enabled_boot)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user