mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-31 03:35:32 -04:00
fs: nullfs should include mount.h
The nullfs_fs_type is declared in mount.h but when declared in nullfs.c there is a warning as mount.h is not being included. Add include of "mount.h" to remove the following sparse warning: fs/nullfs.c:66:25: warning: symbol 'nullfs_fs_type' was not declared. Should it be static? Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk> Link: https://patch.msgid.link/20260617104721.900914-1-ben.dooks@codethink.co.uk Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
This commit is contained in:
committed by
Christian Brauner
parent
57d0ef995d
commit
f64d945fa1
@@ -4,6 +4,8 @@
|
||||
#include <linux/fs_context.h>
|
||||
#include <linux/magic.h>
|
||||
|
||||
#include "mount.h"
|
||||
|
||||
static const struct super_operations nullfs_super_operations = {
|
||||
.statfs = simple_statfs,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user