diff options
author | André Almeida <andrealmeid@igalia.com> | 2024-11-01 13:42:51 -0300 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-11-06 11:22:21 +0100 |
commit | 65c481f30896750f659345b915b669f78a3c0289 (patch) | |
tree | 3a769db0fe76530c30475bc51599ab3e6a6f66c0 /drivers/fpga/microchip-spi.c | |
parent | 18d2f10f6284f5bb9c03a759044121c71e5b3b4c (diff) | |
download | linux-65c481f30896750f659345b915b669f78a3c0289.tar.gz linux-65c481f30896750f659345b915b669f78a3c0289.tar.bz2 linux-65c481f30896750f659345b915b669f78a3c0289.zip |
tmpfs: Initialize sysfs during tmpfs init
Instead of using fs_initcall(), initialize sysfs with the rest of the
filesystem. This is the right way to do it because otherwise any error
during tmpfs_sysfs_init() would get silently ignored. It's also useful
if tmpfs' sysfs ever need to display runtime information.
Signed-off-by: André Almeida <andrealmeid@igalia.com>
Link: https://lore.kernel.org/r/20241101164251.327884-4-andrealmeid@igalia.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'drivers/fpga/microchip-spi.c')
0 files changed, 0 insertions, 0 deletions