Skip to content
Commit 2272905a authored by Emmanuel Nicolet's avatar Emmanuel Nicolet Committed by Michael Ellerman
Browse files

spufs: fix a crash in spufs_create_root()



The spu_fs_context was not set in fc->fs_private, this caused a crash
when accessing ctx->mode in spufs_create_root().

Fixes: d2e0981c ("vfs: Convert spufs to use the new mount API")
Signed-off-by: default avatarEmmanuel Nicolet <emmanuel.nicolet@gmail.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20191008141342.GA266797@gmail.com
parent 7fe4e117
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment