mirror of
https://github.com/versity/scoutfs.git
synced 2026-02-07 19:20:44 +00:00
scoutfs: give module fs scoutfs alias
Use MODULE_ALIAS_FS() to register the "scoutfs" fs alias so that modprobe can find the module if it's installed and visible to depmod. We don't yet have clever enough xfstests to mess around with modules. I manually verified this by installing the module in /lib/modules and trying mount -t scoutfs before and after the change. Signed-off-by: Zach Brown <zab@versity.com>
This commit is contained in:
@@ -334,6 +334,7 @@ static struct file_system_type scoutfs_fs_type = {
|
||||
.kill_sb = scoutfs_kill_sb,
|
||||
.fs_flags = FS_REQUIRES_DEV,
|
||||
};
|
||||
MODULE_ALIAS_FS("scoutfs");
|
||||
|
||||
/* safe to call at any failure point in _init */
|
||||
static void teardown_module(void)
|
||||
|
||||
Reference in New Issue
Block a user