mirror of
https://github.com/psankar/simplefs.git
synced 2025-07-22 21:44:30 +02:00
Use kill_block_super() in simplefs_kill_superblock()
This commit is contained in:
parent
8382ab7e81
commit
23d554cda7
4
simple.c
4
simple.c
@ -747,12 +747,14 @@ static struct dentry *simplefs_mount(struct file_system_type *fs_type,
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void simplefs_kill_superblock(struct super_block *s)
|
static void simplefs_kill_superblock(struct super_block *sb)
|
||||||
{
|
{
|
||||||
printk(KERN_INFO
|
printk(KERN_INFO
|
||||||
"simplefs superblock is destroyed. Unmount succesful.\n");
|
"simplefs superblock is destroyed. Unmount succesful.\n");
|
||||||
/* This is just a dummy function as of now. As our filesystem gets matured,
|
/* This is just a dummy function as of now. As our filesystem gets matured,
|
||||||
* we will do more meaningful operations here */
|
* we will do more meaningful operations here */
|
||||||
|
|
||||||
|
kill_block_super(sb);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user